mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:37:37 +08:00
Revert "FIX: constant lookup error when exporting theme"
This reverts commit 1eda8c50f012d0313a6956a6c8b8e56db64df4b3.
This commit is contained in:
@ -190,7 +190,7 @@ class Admin::ThemesController < Admin::AdminController
|
||||
|
||||
response.headers['Content-Disposition'] = "attachment; filename=#{@theme.name.parameterize}.dcstyle.json"
|
||||
response.sending_file = true
|
||||
render json: ::ThemeWithEmbeddedUploadsSerializer.new(@theme, root: 'theme')
|
||||
render json: ThemeWithEmbeddedUploadsSerializer.new(@theme, root: 'theme')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user