Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 88 lines (71 sloc) 1.998 kB
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?"{
constraints {
// apply constraints here
}
}
"/album/list/feed/$feed" {
controller = "album"
action = "list"
}
"/photo/list/$albumId" {
controller = "photo"
action = "list"
}
"/photo/list/$albumId/feed/$feed" {
controller = "photo"
action = "list"
}
"/photo/ajaxList/$albumId" {
controller = "photo"
action = "ajaxList"
}
"/photo/ajaxList/$albumId/feed/$feed" {
controller = "photo"
action = "ajaxList"
}
"/photo/show/$albumId/$photoId" {
controller = "photo"
action = "show"
}
"/photo/ajaxShow/$albumId/$photoId" {
controller = "photo"
action = "ajaxShow"
}
"/tag/show/$id/feed/$feed" {
controller = "tag"
action = "show"
}
"/tag/list/feed/$feed" {
controller = "tag"
action = "list"
}
"/comment/list/$albumId/$photoId" {
controller = "comment"
action = "list"
}
"/comment/ajaxList/$albumId/$photoId" {
controller = "comment"
action = "ajaxList"
}
"/comment/list/$albumId/$photoId/feed/$feed" {
controller = "comment"
action = "list"
}
"/comment/ajaxList/$albumId/$photoId/feed/$feed" {
controller = "comment"
action = "ajaxList"
}
"/comment/list/feed/$feed" {
controller = "comment"
action = "list"
}
"/comment/ajaxList/feed/$feed" {
controller = "comment"
action = "ajaxList"
}
"/"(view:"/index")
"500"(view:"/error")
}
}
Jump to Line
Something went wrong with that request. Please try again.