- Timestamp:
- Mar 26, 2010, 2:24:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AssetDetailedController.groovy
r429 r459 39 39 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser']) 40 40 def assetTree = { 41 def s = assetTreeService.buildAssetTree(params, session) 42 render s 43 } 44 45 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser']) 46 def exportAssetTreeHtml = { 47 response.contentType = ConfigurationHolder.config.grails.mime.types["csv"] 48 response.setHeader("Content-disposition", "attachment; filename=AssetTree.html") 41 49 def s = assetTreeService.buildAssetTree(params, session) 42 50 render s
Note: See TracChangeset
for help on using the changeset viewer.