Changeset 182 for trunk/grails-app/conf
- Timestamp:
- Nov 10, 2009, 1:26:53 PM (15 years ago)
- Location:
- trunk/grails-app/conf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/SecurityConfig.groovy
r147 r182 46 46 '/login/**': ['IS_AUTHENTICATED_ANONYMOUSLY'], 47 47 '/logout*': ['IS_AUTHENTICATED_FULLY'], 48 '/logout/**': ['IS_AUTHENTICATED_FULLY'] 48 '/logout/**': ['IS_AUTHENTICATED_FULLY'], 49 '/image*': ['IS_AUTHENTICATED_FULLY'], 50 '/image/**': ['IS_AUTHENTICATED_FULLY'] 49 51 ] 50 52 -
trunk/grails-app/conf/UrlMappings.groovy
r75 r182 1 1 class UrlMappings { 2 2 static mappings = { 3 "/$controller/$action?/$id?"{ 4 constraints { 5 // apply constraints here 6 } 7 } 8 "/"(view:"/index") 9 "500"(view:'/error') 10 } 3 "/$controller/$action?/$id?"{ 4 constraints { 5 // apply constraints here 6 } 7 } 8 9 "/image/$id/$size?/$filename?" { 10 constraints { 11 size(matches: /\d+/) 12 } 13 controller = 'pictureDetailed' 14 action = 'view' 15 } 16 17 "/"(view:"/index") 18 "500"(view:'/error') 19 } 11 20 }
Note: See TracChangeset
for help on using the changeset viewer.