Skip to content
Snippets Groups Projects
UrlMappings.groovy 180 B
Newer Older
Reiner Jung's avatar
Reiner Jung committed
class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}

		"/"(view:"/index")
		"500"(view:'/error')
	}
}