Last change
on this file since 453 was
182,
checked in by gav, 15 years ago
|
Add support for inventory item Pictures and Images.
Add new PersonService, refactor CreateDataService and TaskService to suite.
|
File size:
439 bytes
|
Rev | Line | |
---|
[55] | 1 | class UrlMappings { |
---|
| 2 | static mappings = { |
---|
[182] | 3 | "/$controller/$action?/$id?"{ |
---|
| 4 | constraints { |
---|
| 5 | // apply constraints here |
---|
| 6 | } |
---|
| 7 | } |
---|
| 8 | |
---|
| 9 | "/image/$id/$size?/$filename?" { |
---|
| 10 | constraints { |
---|
| 11 | size(matches: /\d+/) |
---|
| 12 | } |
---|
| 13 | controller = 'pictureDetailed' |
---|
| 14 | action = 'view' |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | "/"(view:"/index") |
---|
| 18 | "500"(view:'/error') |
---|
| 19 | } |
---|
[55] | 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.