Displaying 1 result from an estimated 1 matches for "country_no".
Did you mean:
country_id
2009 Jan 12
0
url_for, routes, and the current url
I need to generate 2 types of URL and have defined my routes as:
map.country_yes
"/:country/
yes", :controller=>"posts", :action=>"country", :yes=>true
map.country_no
"/:country/
no", :controller=>"posts", :action=>"country", :yes=>false
map.yes "/yes", :controller=>"posts", :action=>"index", :yes=>true
map.no "/no", :controller=>"posts", :action=>"ind...