2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Insert middleware in production mode if enabled

This commit is contained in:
Robin Ward 2017-01-18 18:05:56 -05:00
parent 8d4cff642e
commit fffa285dbf
2 changed files with 6 additions and 13 deletions

View file

@ -263,11 +263,6 @@ class Plugin::Instance
themes << theme
end
# def register_public
# return unless enabled?
#
# end
def automatic_assets
css = styles.join("\n")
js = javascripts.join("\n")