Ignore:
Timestamp:
Feb 18, 2010, 5:10:12 AM (14 years ago)
Author:
gav
Message:

Add entries to alt menu for Site and Section views.

File:
1 edited

Legend:

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

    r358 r385  
    2020    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
    2121    def show = {
     22
     23        // In the case of an actionSubmit button, rewrite action name from 'index'.
     24        if(params._action_Show)
     25            params.action='show'
     26
    2227        def sectionInstance = Section.get( params.id )
    2328
     
    5055
    5156    def edit = {
     57
     58        // In the case of an actionSubmit button, rewrite action name from 'index'.
     59        if(params._action_Edit)
     60            params.action='edit'
     61
    5262        def sectionInstance = Section.get( params.id )
    5363
Note: See TracChangeset for help on using the changeset viewer.