Ignore:
Timestamp:
Feb 24, 2010, 4:01:05 PM (15 years ago)
Author:
gav
Message:

Move CsvService to AssetCsvService in preparation for other CSV services.

File:
1 edited

Legend:

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

    r403 r414  
    66class AssetDetailedController extends BaseController {
    77
    8     def csvService
     8    def assetCsvService
    99    def filterService
    1010    def exportService
     
    6161    */
    6262    def importAssetTreeSave = {
    63         def result = csvService.importAssetTree(request)
     63        def result = assetCsvService.importAssetTree(request)
    6464
    6565        if(!result.error)
     
    8080        response.contentType = ConfigurationHolder.config.grails.mime.types["csv"]
    8181        response.setHeader("Content-disposition", "attachment; filename=AssetTreeTemplate.csv")
    82         def s = csvService.buildAssetTreeTemplate()
     82        def s = assetCsvService.buildAssetTreeTemplate()
    8383        render s
    8484    }
     
    9090        response.contentType = ConfigurationHolder.config.grails.mime.types["csv"]
    9191        response.setHeader("Content-disposition", "attachment; filename=AssetTreeTestFile.csv")
    92         def s = csvService.buildAssetTreeTest()
     92        def s = assetCsvService.buildAssetTreeTest()
    9393        render s
    9494    }
     
    104104        response.contentType = ConfigurationHolder.config.grails.mime.types["csv"]
    105105        response.setHeader("Content-disposition", "attachment; filename=AssetTree.csv")
    106         def s = csvService.buildAssetTree(assetList)
     106        def s = assetCsvService.buildAssetTree(assetList)
    107107        render s
    108108    }
Note: See TracChangeset for help on using the changeset viewer.