
org.sitemesh.grails.plugins.sitemesh3.UrlMappings.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grails-plugin-sitemesh3 Show documentation
Show all versions of grails-plugin-sitemesh3 Show documentation
SiteMesh is a web-page layout and decoration framework and web- application integration framework to aid in creating sites consisting of many pages for which a consistent look/feel, navigation and layout scheme is required.
The newest version!
package org.sitemesh.grails.plugins.sitemesh3
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?(.$format)?"{}
"/"(view:"/index")
"/index(.$format)?"(view:"/index")
"500"(view:'/error')
// The following works when the exception originates from a view, but not from a controller.
// "500"(controller: 'demo', action:'error500')
"404"(view:'/notFound')
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy