named_routes.install gets called twice during initialization.

 

Not sure what the proper solution would be.

 

load! -> load_routes -> [ draw -> named_routes.install ] -> named_routes.install

 

Doesn’t look like the named_routes.install in load_routes is truly needed.

If routing.rb is loaded, draw will install them, otherwise, it adds an anonymous route.

 

As long as you are reading this, would it be better for install to return if no named_routes are defined rather than include an empty Module and non-existant helpers?

 

Bob Silva

http://i.nfectio.us/

 

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to