Feature #229
better named routes for pages
| Status: | Closed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | yossarian | % Done: | 0% |
|
| Category: | public site | |||
| Target version: | release 2 | |||
| Resolution: | fixed |
Description
Currently I've got
map.about '/about/',
:controller => 'page',
:action => 'show',
:id => "1"
in routes.rb, to map the about page. Is there a better way to do named routes so that I can just say "/page/about" or "/page/editorial" and get the proper page?
History
Updated by yossarian over 5 years ago
- Status changed from New to Closed
- Resolution set to fixed