From 93b571a0f4219cedac5c4cd3bd9803c16cea0ad6 Mon Sep 17 00:00:00 2001 From: Johan Bruning Date: Fri, 1 May 2015 10:52:39 +0200 Subject: Update engine.rb as per instructions https://github.com/refinery/refinerycms/issues/2267 --- lib/refinery/blog/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3