search for: defaultmodule

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

Did you mean: default_module
2006 Apr 07
0
Routing requests to a default controller module
...Basically, by default, I want all requests to particular module. If a request happens to match a full module+controller name, then it can route to that request (i.e. the default case). So basically something like: map.connect '':controller/:action/:id'', :controller => "DefaultModule::#{controller}" map.connect '':controller/:action/:id'' ...except I made up the first line. Is there any way to do this (easily or otherwise)? I was digging around in action_controller/routing.rb and I figure I might be able to make a modification to traverse_to_controller...