Ignore:
Timestamp:
Feb 18, 2010, 1:20:22 AM (14 years ago)
Author:
gav
Message:

Detail Manufacturer and Supplier views and controllers.

File:
1 edited

Legend:

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

    r372 r374  
    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 manufacturerInstance = Manufacturer.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 manufacturerInstance = Manufacturer.get( params.id )
    4757
Note: See TracChangeset for help on using the changeset viewer.