diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-12-22 12:10:42 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-12-22 12:10:42 +0200 |
commit | 26243ddade61e5bbad8f07e14b0475000da58b51 (patch) | |
tree | edd8a0b6bbeea63eba0c436ff13f4e720d185f35 | |
parent | 567bdd63344bed3e293471b0dc30d1d4d7b2c470 (diff) | |
download | refinerycms-blog-26243ddade61e5bbad8f07e14b0475000da58b51.tar.gz refinerycms-blog-26243ddade61e5bbad8f07e14b0475000da58b51.tar.bz2 refinerycms-blog-26243ddade61e5bbad8f07e14b0475000da58b51.zip |
Don't require rails explicitly because refinerycms-core will do it for us.
-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 |