source: trunk/grails-app/conf/UrlMappings.groovy @ 964

Last change on this file since 964 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
Line 
1class UrlMappings {
2    static mappings = {
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    }
20}
Note: See TracBrowser for help on using the repository browser.