Changeset 375


Ignore:
Timestamp:
Feb 18, 2010, 1:29:00 AM (15 years ago)
Author:
gav
Message:

Minor code formatting.

Location:
trunk/grails-app/controllers
Files:
10 edited

Legend:

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

    r350 r375  
    217217        // In the case of an actionSubmit button, rewrite action name from 'index'.
    218218        if(params._action_Show)
    219         { params.action='show' }
     219            params.action='show'
    220220
    221221        def assetInstance = Asset.get( params.id )
     
    257257        // In the case of an actionSubmit button, rewrite action name from 'index'.
    258258        if(params._action_Edit)
    259         { params.action='edit' }
     259            params.action='edit'
    260260
    261261        def assetInstance = Asset.get( params.id )
  • trunk/grails-app/controllers/AssetSubItemDetailedController.groovy

    r369 r375  
    101101        // In the case of an actionSubmit button, rewrite action name from 'index'.
    102102        if(params._action_Show)
    103         { params.action='show' }
     103            params.action='show'
    104104
    105105        def assetSubItemInstance = AssetSubItem.get( params.id )
     
    135135        // In the case of an actionSubmit button, rewrite action name from 'index'.
    136136        if(params._action_Edit)
    137         { params.action='edit' }
     137            params.action='edit'
    138138
    139139        def assetSubItemInstance = AssetSubItem.get( params.id )
  • trunk/grails-app/controllers/InventoryItemDetailedController.groovy

    r298 r375  
    5656        // In the case of an actionSubmit button, rewrite action name from 'index'.
    5757        if(params._action_Show)
    58         { params.action='show' }
     58            params.action='show'
    5959
    6060        if(!InventoryItem.exists(params.id)) {
     
    107107
    108108    def edit = {
    109        
     109
    110110        // In the case of an actionSubmit button, rewrite action name from 'index'.
    111111        if(params._action_Edit)
    112         { params.action='edit' }
    113        
     112            params.action='edit'
     113
    114114        def inventoryItemInstance = InventoryItem.get( params.id )
    115115
  • trunk/grails-app/controllers/MaintenancePolicyDetailedController.groovy

    r371 r375  
    2121        // In the case of an actionSubmit button, rewrite action name from 'index'.
    2222        if(params._action_Show)
    23         { params.action='show' }
     23            params.action='show'
    2424
    2525        def maintenancePolicyInstance = MaintenancePolicy.get( params.id )
     
    5555        // In the case of an actionSubmit button, rewrite action name from 'index'.
    5656        if(params._action_Edit)
    57         { params.action='edit' }
     57            params.action='edit'
    5858
    5959        def maintenancePolicyInstance = MaintenancePolicy.get( params.id )
  • trunk/grails-app/controllers/ManufacturerDetailedController.groovy

    r374 r375  
    1818        // In the case of an actionSubmit button, rewrite action name from 'index'.
    1919        if(params._action_Show)
    20         { params.action='show' }
     20            params.action='show'
    2121
    2222        def manufacturerInstance = Manufacturer.get( params.id )
     
    5252        // In the case of an actionSubmit button, rewrite action name from 'index'.
    5353        if(params._action_Edit)
    54         { params.action='edit' }
     54            params.action='edit'
    5555
    5656        def manufacturerInstance = Manufacturer.get( params.id )
  • trunk/grails-app/controllers/PersonController.groovy

    r295 r375  
    3434        // In the case of an actionSubmit button, rewrite action name from 'index'.
    3535        if(params._action_Show)
    36         { params.action='show' }
     36            params.action='show'
    3737
    3838        def person = Person.get(params.id)
     
    8686        // In the case of an actionSubmit button, rewrite action name from 'index'.
    8787        if(params._action_Edit)
    88         { params.action='edit' }
     88            params.action='edit'
    8989
    9090        def person = Person.get(params.id)
  • trunk/grails-app/controllers/PictureDetailedController.groovy

    r298 r375  
    2929        // In the case of an actionSubmit button, rewrite action name from 'index'.
    3030        if(params._action_Show)
    31         { params.action='show' }
     31            params.action='show'
    3232
    3333        def picture = Picture.get( params.id )
     
    7070        // In the case of an actionSubmit button, rewrite action name from 'index'.
    7171        if(params._action_Edit)
    72         { params.action='edit' }
     72            params.action='edit'
    7373
    7474        def picture = Picture.get(params.id)
  • trunk/grails-app/controllers/SupplierDetailedController.groovy

    r374 r375  
    1818        // In the case of an actionSubmit button, rewrite action name from 'index'.
    1919        if(params._action_Show)
    20         { params.action='show' }
     20            params.action='show'
    2121
    2222        def supplierInstance = Supplier.get( params.id )
     
    5252        // In the case of an actionSubmit button, rewrite action name from 'index'.
    5353        if(params._action_Edit)
    54         { params.action='edit' }
     54            params.action='edit'
    5555
    5656        def supplierInstance = Supplier.get( params.id )
  • trunk/grails-app/controllers/TaskDetailedController.groovy

    r326 r375  
    222222        // In the case of an actionSubmit button, rewrite action name from 'index'.
    223223        if(params._action_Show)
    224         { params.action='show' }
     224            params.action='show'
    225225
    226226        def showTab = [:]
     
    465465        // In the case of an actionSubmit button, rewrite action name from 'index'.
    466466        if(params._action_Edit)
    467         { params.action='edit' }
     467            params.action='edit'
    468468
    469469        def taskInstance = Task.get( params.id )
  • trunk/grails-app/controllers/TaskProcedureDetailedController.groovy

    r368 r375  
    3535        // In the case of an actionSubmit button, rewrite action name from 'index'.
    3636        if(params._action_Show)
    37         { params.action='show' }
     37            params.action='show'
    3838
    3939        def taskProcedureInstance = TaskProcedure.get( params.id )
     
    6969        // In the case of an actionSubmit button, rewrite action name from 'index'.
    7070        if(params._action_Edit)
    71         { params.action='edit' }
     71            params.action='edit'
    7272
    7373        def taskProcedureInstance = TaskProcedure.get( params.id )
Note: See TracChangeset for help on using the changeset viewer.