Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rails 2.3 also has:

    map.connect "/foo", :controller => "foos", :action => "index", :conditions => { :method => :get }
Which is the "correct" way to do verb-constrained non-resource routes. Not ever routing the wrong verb is even better than checking it in the controller.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: