aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/refinery/blog/engine.rb5
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