search for: route_path

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

2007 Jul 31
1
changeset 355
...nitial support for controllers to be nested in modules and directories." I have probably overlooked something here, but it appears to me that something is missing to be able to route to those nested controllers. Looking in Merb::Dispatcher, it looks like the workflow goes like this. route = route_path(request_uri) route_path then calls Merb::Router.match(path) klass = resolve_controller(route[:controller]) resolve_controller then splits the controller part of the route with segments = controller_name.split(''/'').map{|s| s.snake_case} However, it appears that Merb::Router...