Changeset 318


Ignore:
Timestamp:
Feb 5, 2010, 11:08:54 AM (10 years ago)
Author:
gav
Message:

Move saveAssetTreeStatus method to AssetDetailedController.

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

Legend:

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

    r310 r318  
    3434    */
    3535    def start = {
    36     }
    37 
    38     /**
    39     * Save the asset Tree status in the current http session.
    40     */
    41     def saveAssetTreeStatus = {
    42         session.assetTreeVisibleBranches = params.assetTreeVisibleBranches
    4336    }
    4437
  • trunk/grails-app/controllers/AssetDetailedController.groovy

    r312 r318  
    2323        def s = assetTreeService.buildAssetTree(params, session)
    2424        render s
     25    }
     26
     27    /**
     28    * Save the asset tree status in the current http session.
     29    */
     30    def saveAssetTreeStatus = {
     31        session.assetTreeVisibleBranches = params.assetTreeVisibleBranches
    2532    }
    2633
Note: See TracChangeset for help on using the changeset viewer.