On 2/24/07, Hugo Levasseur <[EMAIL PROTECTED]> wrote: > A thing I'm not sure about: > In routing.rb there is a mention that on should add a 'map.from_plugin > :your_plugin' call in a > 'ApplicationController::Routing::Routes.draw do |map|...' > block > Where should this block go?
This is the code which is in your main config/routes.rb file. Essentially it's talking about including ruotes defined within plugins into your routing. However, it may not be necessary to include any special routes. The problems seem clearer in your earlier mail: > 1. route in app's route.rb (complains that controller is not found) > 2. route and controller in main app (complains view isn't there) It seems like the controller isn't being loaded from the plugin, when clearly it should be. Check the log output from the engines plugin, and the load paths for the routing system to be sure that your plugin is loaded and the controller can be found. -- * J * ~ _______________________________________________ engine-developers mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
