This project is archived and is in readonly mode.
Routes: match ignores :conditions.
-
epochwolf
I think I figured out the problem. After poking around the rails source it looks like http://guides.rails.info/routing.html#route-conditions is out of date. It shows
match 'photo/:id' => 'photos#show', :conditions => { :method => :get }when the proper way to do this according to the edge source is
get 'photo/:id' => 'photos#show'I assume match doesn't allow :conditions by design. If so, could someone close this ticket.
-
José Valim
- State changed from new to invalid