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:
parent
8d4cff642e
commit
fffa285dbf
2 changed files with 6 additions and 13 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue