diff options
-rw-r--r-- | lib/refinery/blog/engine.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb index b949265..7e58596 100644 --- a/lib/refinery/blog/engine.rb +++ b/lib/refinery/blog/engine.rb @@ -1,6 +1,5 @@ require 'refinerycms-blog' -require 'rails' - + module Refinery module Blog class Engine < Rails::Engine @@ -20,7 +19,7 @@ module Refinery } end end - + config.after_initialize do Refinery.register_engine(Refinery::Blog) end |