class UrlMappings {

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

//		"/"(view:"/index")
		"/" controller: 'home', action: 'index'
		"500"(view:'/error')
		
		"/ideology/save" {
			controller = "ideology"
			action = "save"
		}
	}
}
