From 227d6c882c13477fb4027b80e3bd1731b8f8eb03 Mon Sep 17 00:00:00 2001 From: Marc Chung Date: Thu, 2 Sep 2010 23:35:03 -0700 Subject: Pass in 'app' --- lib/refinerycms-blog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/refinerycms-blog.rb') 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 -- cgit v1.2.3