3 ms·
That matcher syntax is available in Rails 2, and better and more concise in Rails 3 (http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ http:
by jdminhbg 16y ago
That matcher syntax is available in Rails 2, and better and more concise in Rails 3 (http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in...)
match '/hello/:name', :to => 'hello#index'