- Timestamp:
- Jan 25, 2010, 2:14:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryMovementDetailedController.groovy
r226 r298 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager']) 3 4 class InventoryMovementDetailedController extends BaseController { 4 5 5 6 def inventoryMovementService 6 7 7 def index = { redirect(action:list,params:params) }8 9 8 // the delete, save and update actions only accept POST requests 10 9 static allowedMethods = [delete:'POST', save:'POST'] 10 11 def index = { redirect(action:list,params:params) } 11 12 12 13 def list = { … … 15 16 } 16 17 18 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 17 19 def show = { 18 20 def inventoryMovementInstance = InventoryMovement.get( params.id ) … … 29 31 * @param params.inventoryItem.id The id of an existing inventory item. 30 32 */ 33 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 31 34 def listInventoryMovements = { 32 35 def inventoryItemInstance = InventoryItem.get(params.inventoryItem.id)
Note: See TracChangeset
for help on using the changeset viewer.