Re: Modifying routes in plugins


I want to add my own route in a plugin. Luke Amdor demonstrated how it
could be done a few weeks back.

But as far as I can tell (I haven’t tried it), this won’t work in Rails
1.0 because of the following change that DHH made.

This change means that routes.rb is now processed AFTER the plugin code
and so any routes you define in the plugin code would be lost. I think
this change was supposed to make adding routes easier but I can’t
figure out a good way of doing it. Any ideas?



Nevermind! A patch that does the trick has been submitted. (-:


On Thu, 5 Jan 2006 14:07:30 +0000