Changeset 390


Ignore:
Timestamp:
Feb 18, 2010, 9:48:45 PM (15 years ago)
Author:
gav
Message:

Capitalise export file name.

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

Legend:

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

    r387 r390  
    175175
    176176            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    177             response.setHeader("Content-disposition", "attachment; filename=assets.${params.extension}")
     177            response.setHeader("Content-disposition", "attachment; filename=Assets.${params.extension}")
    178178            List fields = ["section.site",
    179179                                "section",
  • trunk/grails-app/controllers/TaskDetailedController.groovy

    r375 r390  
    102102
    103103            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    104             response.setHeader("Content-disposition", "attachment; filename=tasks.${params.extension}")
     104            response.setHeader("Content-disposition", "attachment; filename=Tasks.${params.extension}")
    105105            List fields = ["id", "targetStartDate", "description", "leadPerson", "taskPriority", "taskStatus"]
    106106            Map labels = ["id": "ID", "targetStartDate": "Target Start Date", "description": "Description",
Note: See TracChangeset for help on using the changeset viewer.