Grails 2.5.5 URLMapping issue -
i running in issue controllers not being able hit directly. have following 2 lines in urlmappings.groovy
"/secondary/$action?/$id?(.$format)?" (controller:"managesecondary") "/manage/$action?/$id?(.$format)?" (controller:"manageaccount")
however, when try navigate directly url/managesecondary/secondary1 throws 404 error. trying hit url/manage/secondary1 manageaccount doesnt have secondary1
debugging defaulturlmappingsholder following:
debug defaulturlmappingsholder - matched uri [/managesecondary] pattern [/()/()?/()?], adding posibilities debug defaulturlmappingsholder - matched uri [/managesecondary] pattern [/manage/()?/()?(.())?], adding posibilities
i can't figure out why /managesecondary matching /manage/ / should stop happening.
any mutely appreciated
Comments
Post a Comment