Ignore:
Timestamp:
Feb 17, 2010, 10:36:16 PM (14 years ago)
Author:
gav
Message:

Add alt menu to AssetSubItem views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/AssetSubItemDetailedController.groovy

    r359 r369  
    9898    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
    9999    def show = {
     100
     101        // In the case of an actionSubmit button, rewrite action name from 'index'.
     102        if(params._action_Show)
     103        { params.action='show' }
     104
    100105        def assetSubItemInstance = AssetSubItem.get( params.id )
    101106
     
    127132
    128133    def edit = {
     134
     135        // In the case of an actionSubmit button, rewrite action name from 'index'.
     136        if(params._action_Edit)
     137        { params.action='edit' }
     138
    129139        def assetSubItemInstance = AssetSubItem.get( params.id )
    130140
Note: See TracChangeset for help on using the changeset viewer.