mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Move the middleware
This commit is contained in:
parent
fffa285dbf
commit
9c9e0f5eca
@ -19,7 +19,7 @@ class Plugin::Theme
|
||||
if File.exist?(public_dir)
|
||||
Rails.application.config.before_initialize do |app|
|
||||
app.middleware.insert_before(
|
||||
::ActionDispatch::Static,
|
||||
::Rack::Runtime,
|
||||
::ActionDispatch::Static,
|
||||
public_dir
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user