map.connect '', :controller => "pragmatic", :action ="" 'index'
Can we now map this back to /pragmatic/index by using url_for? I don't know if anyone else uses this, but it would really help me out on the page expiration plugin I wrote (Broomstick).
On Tue, 2006-05-30 at 12:46 -0600, Jamis Buck wrote:
Nicholas Seckar and I have been working on a rewrite of the routing code, making it leaner, faster, and easier to understand. It will also be easier to extend, so it is an all-around win. However, because it is a rewrite, the internals have changed significantly. If you have code (a plugin or otherwise) that messes with routing, there is a good chance this rewrite will break that code. The public-facing API (things you use in config/routes.rb) will remain the same, but expect anything else to break. The simply_restful plugin, for instance, will not work with the new routes until some (minor) modifications are made to it. I'll be working this afternoon on merging the new routing code in, and depending on how smoothly it goes, this may be finished as soon as tomorrow. If I hit some bumps, it may take longer. Just wanted to give everyone a heads-up. - Jamis _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core
Charlie Bowman Programmer Castle Branch Inc. |
_______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core