lib/spud_banners/engine.rb in tb_banners-1.2.1 vs lib/spud_banners/engine.rb in tb_banners-1.3.beta1

- old
+ new

@@ -4,17 +4,17 @@ module Spud module Banners class Engine < Rails::Engine engine_name :tb_banners - + initializer :admin do Spud::Core.config.admin_applications += [{ - :name => 'Banner Sets', - :thumbnail => 'admin/banners/banners.png', - :retina => true, - :url => '/admin/banner_sets', - :order => 120 + name: 'Banner Sets', + thumbnail: 'admin/banners/banners.png', + retina: true, + url: '/admin/banner_sets', + order: 120 }] end initializer :liquid do Liquid::Template.register_tag('spud_banner_set', Spud::Banners::BannerSetTag) if defined?(Liquid::Template)