mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:11:12 +08:00
Change extension back to .dcstyle.json
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user