search for: view_by_url

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

2007 Dec 12
4
Route and patterns
In a wiki, routes are handling web_index /:web {:controller=>"wiki", :action=>"index"} web_topic /:web/:topic {:controller=>"wiki", :action=>"view"} action /:web/:topic/:action {:controller=>"wiki"} That is the default action is "view". Two questions: 1. Can I constrain the patterns allowed for