I submitted a simple patch to fix the problem where plugin routes
override application routes (it ought to be the other way around). The
ticket is here: https://rails.lighthouseapp.com/projects/8994/tickets/2592-plugin-routes-override-application-routes
In summary, I've added a new method to the Routes class to allow the
Initializer to prepend the application routes to the
configuration_files array, instead of pushing it on at the end. Plugin
routes are added when the plugin is loaded, which occurs before the
application routes are added.
There are other ways to patch this, including breaking the add-plugin-
routes into a seperate step in the initializer, but I felt that such
changes might need to be made with more discussion about how the
plugin loading process is structured as a whole.
Anyway - please take a look at the patch, hopefully people will find