Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Im running windows vista home premium 64-bit.
Description
If my controller name starts with a capital letter, the url-mappings cannot find the controller.
static mappings = {
"/rest/ServiceProvider/$id?"(controller:"serviceProvider", action="checkm")
"/$controller/$action?/$id?" {
constraints {
// apply constraints here
}
}
"/"(view: "/index")
"500"(view: '/error')
}
Works while
static mappings = {
"/rest/ServiceProvider/$id?"(controller:"ServiceProvider", action="checkm")
"/$controller/$action?/$id?" {
constraints { // apply constraints here } }
}
"/"(view: "/index")
"500"(view: '/error')
}
Doesnt work.
I bloged about it at http://www.morkeleb.com/2009/04/27/grails-cutom-url-mappings-not-working/
Im avaliable if you need help testing or more info.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits