aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bruning <johan@taquito.nl>2015-05-01 10:52:39 +0200
committerJohan Bruning <johan@taquito.nl>2015-05-01 10:52:39 +0200
commit93b571a0f4219cedac5c4cd3bd9803c16cea0ad6 (patch)
tree3830ffe03f5b1125da4b3d68b7ba893d720e27c3
parentb407907724f4fd9418fc367552be35b8afcf8813 (diff)
downloadrefinerycms-blog-93b571a0f4219cedac5c4cd3bd9803c16cea0ad6.tar.gz
refinerycms-blog-93b571a0f4219cedac5c4cd3bd9803c16cea0ad6.tar.bz2
refinerycms-blog-93b571a0f4219cedac5c4cd3bd9803c16cea0ad6.zip
Update engine.rb as per instructions
https://github.com/refinery/refinerycms/issues/2267
-rw-r--r--lib/refinery/blog/engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index 7b29466..c4c39d8 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -5,7 +5,7 @@ module Refinery
isolate_namespace Refinery::Blog
- initializer "register refinerycms_blog plugin" do
+ before_inclusion do
Refinery::Plugin.register do |plugin|
plugin.pathname = root
plugin.name = "refinerycms_blog"