Review my plugin routes patch?

It's ticket #329[1]. Quickly summarizing, it allows the plugins to do
the following in their initializing:

config.draw_for :plugin_admin do |map|    # normal routing definition end

or

# grabs the plugin's name and names this block after the plugin config.plugin_routes do |map|    # normal routing definition end

Then in the app's config/routes.rb

map.plugin_routes :plugin_admin # or more automated map.plugin_routes :all

This approach keeps all the control in the app developer's hands. The
developer can decide when, if and in what order plugin routes are
defined. Rich

[1] #329 Add an API for plugins to register routes - Ruby on Rails - rails