aboutsummaryrefslogtreecommitdiffstats
path: root/lib/refinery
diff options
context:
space:
mode:
Diffstat (limited to 'lib/refinery')
-rw-r--r--lib/refinery/blog.rb3
-rw-r--r--lib/refinery/blog/engine.rb2
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb
index 2023066..9320300 100644
--- a/lib/refinery/blog.rb
+++ b/lib/refinery/blog.rb
@@ -6,8 +6,7 @@ module Refinery
autoload :BlogGenerator, 'generators/refinery/blog/blog_generator'
module Blog
-
- require 'refinery/blog/engine' if defined?(Rails)
+ require 'refinery/blog/engine'
autoload :Version, 'refinery/blog/version'
autoload :Tab, 'refinery/blog/tabs'
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index 7e58596..58e38f4 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -1,5 +1,3 @@
-require 'refinerycms-blog'
-
module Refinery
module Blog
class Engine < Rails::Engine