Displaying 1 result from an estimated 1 matches for "junkjunkjunk".
2005 Dec 18
2
Default routes for unknown actions
Hi folks-
I have the following map for default ''junk'' routes:
map.connect ''*anything'', :controller => ''welcome'', :action =>
''unknown''
Which works just fine for a URL like: "mysite.com/junkjunkjunk"
However, it still tries to resolve an action when I do:
"mysite.com/my_controller/junkjunkjunk"
How can I send Rails to a default route in the case of an unknown
action? Currently, I get the standard "Unknown action... No action
responded to junkjunkjunk"
Jake...