Statistics
| Revision:

root / hci / trunk / eneraptor-web-app / grails-app / conf / UrlMappings.groovy @ 2

History | View | Annotate | Download (180 Bytes)

1
class UrlMappings {
2

    
3
        static mappings = {
4
                "/$controller/$action?/$id?"{
5
                        constraints {
6
                                // apply constraints here
7
                        }
8
                }
9

    
10
                "/"(view:"/index")
11
                "500"(view:'/error')
12
        }
13
}