Forum: Rails Engines Re: Will engines be around in Rails 2.3?

Posted by Michael Klett (Guest)
on 2009-02-20 14:50
(Received via mailing list)
I didn't notice a mention of engine routes and how they are currently
different in Rails 2.3.0.  As far as I can tell, there is no control 
over
ordering.  All of the plugin/engine routes load, and then the main app
routes load.  There is no equivalent of "map :from_plugin", is there?
Posted by James Adam (Guest)
on 2009-02-21 11:13
(Received via mailing list)
On 20 Feb 2009, at 13:50, Michael Klett wrote:

> I didn't notice a mention of engine routes and how they are  
> currently different in Rails 2.3.0.  As far as I can tell, there is  
> no control over ordering.  All of the plugin/engine routes load, and  
> then the main app routes load.  There is no equivalent of  
> "map :from_plugin", is there?

Routes will be loaded, I think, in the order that the plugins load.
There's no equivalent for 'map.from_plugin', but perhaps you can come
up with a compelling use-case?

James
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.