Changeset 377 for trunk/grails-app/controllers
- Timestamp:
 - Feb 18, 2010, 3:09:18 AM (16 years ago)
 - Location:
 - trunk/grails-app/controllers
 - Files:
 - 
          
- 1 edited
 - 1 moved
 
- 
          InventoryLocationDetailedController.groovy (modified) (2 diffs)
 - 
          InventoryStoreDetailedController.groovy (moved) (moved from trunk/grails-app/controllers/InventoryStoreController.groovy) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/grails-app/controllers/InventoryLocationDetailedController.groovy
r298 r377 18 18 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 19 19 def show = { 20 21 // In the case of an actionSubmit button, rewrite action name from 'index'. 22 if(params._action_Show) 23 params.action='show' 24 20 25 def inventoryLocationInstance = InventoryLocation.get( params.id ) 21 26 … … 47 52 48 53 def edit = { 54 55 // In the case of an actionSubmit button, rewrite action name from 'index'. 56 if(params._action_Edit) 57 params.action='edit' 58 49 59 def inventoryLocationInstance = InventoryLocation.get( params.id ) 50 60  - 
        
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.
      