Ignore:
Timestamp:
Feb 17, 2010, 8:33:06 PM (14 years ago)
Author:
gav
Message:

Detail MaintenancePolicy controller and views.

File:
1 edited

Legend:

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

    r362 r363  
    1515
    1616    def show = {
     17
     18        // In the case of an actionSubmit button, rewrite action name from 'index'.
     19        if(params._action_Show)
     20        { params.action='show' }
     21
    1722        def maintenancePolicyInstance = MaintenancePolicy.get( params.id )
    1823
     
    4449
    4550    def edit = {
     51
     52        // In the case of an actionSubmit button, rewrite action name from 'index'.
     53        if(params._action_Edit)
     54        { params.action='edit' }
     55
    4656        def maintenancePolicyInstance = MaintenancePolicy.get( params.id )
    4757
Note: See TracChangeset for help on using the changeset viewer.