This project is archived and is in readonly mode.
Allow Engines routes order to be defined (map.from_plugin)
-
CancelProfileIsBroken
- State changed from new to invalid
Happy to reopen if you have a patch. Otherwise, falls under "Creating a feature request: please don't".
-
James Adam
I'm not sure that controlling routes via a :position parameter is quite flexible enough, but regardless, I've added a patch which covers controlling plugin route positioning to Ticket #329 Add an API for plugins to register routes, and would appreciate your feedback there.
-
Roger
perhaps an option like
Rails::Initializer.run do |config|
config.do_not_load_plugin_routes = true endmight be enough, then people can later do something like
load 'vendor/plugins/plugin_name/config/routes.rb'
to have control of route loading?