Displaying 1 result from an estimated 1 matches for "staticprefixof".
2008 Jul 25
1
Adding a global path prefix in routes
I''m having some trouble figuring out how to add a path prefix to _all_
paths in a site. I see the option to use :path_prefix when using
resources, but this isn''t exactly what I want. I would simply like to
add a static prefix of /events/foo/ to all paths, including the root
url (for now, until I create a proper events controller). I attempted
to do this using map.root but it