From 6b196003cf968a8ec9670e217478e99d42b6840c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 3 Jul 2016 15:01:51 +0200 Subject: Fix deprecation warning in engine registration. The activity plugin has been removed, so just drop the config for it. --- lib/refinery/banners/engine.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/refinery/banners/engine.rb b/lib/refinery/banners/engine.rb index 0299bb8..dea4ef3 100644 --- a/lib/refinery/banners/engine.rb +++ b/lib/refinery/banners/engine.rb @@ -6,16 +6,11 @@ module Refinery engine_name :refinery_banners - initializer "register refinerycms_banners plugin" do + before_inclusion do Refinery::Plugin.register do |plugin| plugin.name = "banners" plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.banners_admin_banners_path } plugin.pathname = root - plugin.activity = { - :class_name => :'refinery/banners/banner', - :title => 'name' - } - end end -- cgit v1.2.3