- Timestamp:
- Feb 18, 2010, 3:09:18 AM (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryStoreDetailedController.groovy
r361 r377 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class InventoryStoreController extends BaseAppAdminController { 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager']) 4 class InventoryStoreDetailedController extends BaseController { 4 5 6 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 5 7 def index = { redirect(action:list,params:params) } 6 8 … … 13 15 } 14 16 17 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 15 18 def show = { 19 20 // In the case of an actionSubmit button, rewrite action name from 'index'. 21 if(params._action_Show) 22 params.action='show' 23 16 24 def inventoryStoreInstance = InventoryStore.get( params.id ) 17 25 … … 43 51 44 52 def edit = { 53 54 // In the case of an actionSubmit button, rewrite action name from 'index'. 55 if(params._action_Edit) 56 params.action='edit' 57 45 58 def inventoryStoreInstance = InventoryStore.get( params.id ) 46 59
Note: See TracChangeset
for help on using the changeset viewer.