On May 30, 2006, at 1:11 PM, Charlie Bowman wrote:

Will there now be a way to get the long url back?  Here's an example.

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).

Charlie,

I'm afraid I don't understand. How would it know to build /pragmatic/ index from {:controller => "pragmatic", :action => "index"}, when you've connected it to ''? You can't have one route that maps to two paths, I'm afraid.

- Jamis

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

Reply via email to