search for: misc_url

Displaying 1 result from an estimated 1 matches for "misc_url".

2006 Jun 06
2
Routing Priority and Unknown Action
...ff and, if the url doesn''t jive, rails attempts to render the static content with a special controller just for rendering that. To allow the static content to use all sorts of user memorable URLs I used routing: map.connect '':controller/:action'' map.connect ''*misc_url'', :controller => ''static'', :action => ''render_content'' Seems graceful enough (though I have to handle 404 page rendering in the static controller since it gets EVERYTHING). So assuming I have a controller named "a" with an action name...