I see that with the latest version of Rails & Engines
(http://www.rails-engines.org/news/2009/04/20/edge-engines-now-compatible-with-rails-2-3/)
the plugin routes are to be moved to plugin_root/config/routes.rb and
Rails will include them.
The problem I’m having is I have a wild card route that I need to be at
the lowest priority of the routes. But I can’t seem to see how to load
my plugin’s route file last.
I’ve tried adding in map.from_plugin :my_plugin to the end of
RAILS_ROOT/config/routes.rb but I just get an error:
undefined method ‘[]’ for :my_plugin:Symbol
Am I missing something?
Thanks,
Will