Change extension back to .dcstyle.json

This commit is contained in:
riking
2015-05-19 18:35:16 -07:00
parent d0b61ed23e
commit d112f39031
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class Admin::SiteCustomizationsController < Admin::AdminController
format.any(:html, :text) do
raise RenderEmpty.new if request.xhr?
response.headers['Content-Disposition'] = "attachment; filename=#{@site_customization.name.parameterize}.dcstylejson"
response.headers['Content-Disposition'] = "attachment; filename=#{@site_customization.name.parameterize}.dcstyle.json"
response.sending_file = true
render json: SiteCustomizationSerializer.new(@site_customization)
end