aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/refinery/banners/engine.rb7
1 files changed, 1 insertions, 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