source:
trunk/grails-app/conf/UrlMappings.groovy
@
1072
Last change on this file since 1072 was 776, checked in by duh, 13 years ago | |
---|---|
|
|
File size: 218 bytes |
Rev | Line | |
---|---|---|
[4] | 1 | class UrlMappings { |
2 | static mappings = { | |
3 | "/$controller/$action?/$id?"{ | |
4 | constraints { | |
5 | // apply constraints here | |
6 | } | |
7 | } | |
[41] | 8 | "/"(controller: 'home', action: 'index') |
[4] | 9 | "500"(view:'/error') |
10 | } | |
11 | } |
Note: See TracBrowser
for help on using the repository browser.