Displaying 1 result from an estimated 1 matches for "route_name".
2006 Aug 03
1
routeset mapper problem
....force_utf8.to_s,
:named_route=> nil
}.merge(options)
# Ensure the controller is aware of the mount point...
ContentController.add_root(path, opts[:index])
# Add the route...
opts[:controller] = ''content''
opts[:action] =''show''
route_name = opts.delete(:named_route)
unless route_name.nil?
named_route( route_name, "#{path}/*page", opts )
else
if opts[:index] == '''' # if it maps to the root site URI, name it
content_root
named_route( ''content_root'', "#{path...