I have a route like this:
map.tickets_landing_page ‘:name-tickets’, :controller => “tickets”,
:action => “landing_page”
I want name to replace all spaces with dashes. So if I do
tickets_landing_page_path(:name => “New York Giants”) it should do
New-York-Giants. Any ideas how to do this?
Thanks!