Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.3, 0.4
-
Fix Version/s: 2.2
-
Component/s: Controllers
-
Labels:None
Description
Add support for placing controllers in sub-folders/packages within the controllers folder so you can keep related controllers together, create more structured urls and make path based url security easier?
For example:
\grails-app\controllers\SiteController.groovy -> http://localhost:8080/sample/site
\grails-app\controllers\admin\UserController.groovy -> http://localhost:8080/sample/admin/user
\grails-app\controllers\admin\RoleController.groovy -> http://localhost:8080/sample/admin/role
And views would obviously have to follow the package structure of their controller:
\grails-app\views\admin\user\show.gsp
Issue Links
- is related to
-
GRAILS-376
Organizing domain classes in subfolders
-
- relates to
-
GRAILS-9300
Add "package" attribute to UrlMappingInfo
-
-
GRAILS-376
Organizing domain classes in subfolders
-