aboutsummaryrefslogtreecommitdiffstats
path: root/lib/refinerycms-blog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/refinerycms-blog.rb')
-rw-r--r--lib/refinerycms-blog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/refinerycms-blog.rb b/lib/refinerycms-blog.rb
index 3bb75d5..26d3dc9 100644
--- a/lib/refinerycms-blog.rb
+++ b/lib/refinerycms-blog.rb
@@ -8,7 +8,7 @@ module Refinery
module Blog
class Engine < Rails::Engine
- initializer 'blog serves assets' do
+ initializer 'blog serves assets' do |app|
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
end