aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarc Chung <mchung@gmail.com>2010-09-02 23:35:03 -0700
committerMarc Chung <mchung@gmail.com>2010-09-02 23:35:03 -0700
commit227d6c882c13477fb4027b80e3bd1731b8f8eb03 (patch)
treef8b573ecb1d9fa11f1d65290205d7dff7510a795 /lib
parent654d50399de6206100a111e89b8d9602b77c0338 (diff)
downloadrefinerycms-blog-227d6c882c13477fb4027b80e3bd1731b8f8eb03.tar.gz
refinerycms-blog-227d6c882c13477fb4027b80e3bd1731b8f8eb03.tar.bz2
refinerycms-blog-227d6c882c13477fb4027b80e3bd1731b8f8eb03.zip
Pass in 'app'
Diffstat (limited to 'lib')
-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