Displaying 1 result from an estimated 1 matches for "bug_info".
Did you mean:
buf_info
2011 Oct 11
0
route match error with 2 parameters
routes.db
match ''bugs/:pr/:scope/info'' => ''bugs#info'', :as=>:bug_info
rake routes
bug_info /bugs/:pr/:scope/info(.:format)
{:controller=>"bugs", :action=>"info"}
In my view i used bug_info_path(:pr=>1,:scope=>2) and i get an error
No route matches
{:scope=>"2", :action=>"info", :controller=>"bugs&...