Edge Rails: Now define you plugin’s routes in plugin’s config/routes.rb

If you wrote/writing a rails plugin that need to have an entry in rails routing, you need not to ask your plugin users to make that entry in RAILS_ROOT/config/routes.rb manually any more. In the latest version of rails you can add your custum routes in your plugin config/routes.rb file. Rails will automatically load those routes.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

del.icio.us Digg it reddit Yahoo MyWeb
blog comments powered by Disqus