Sha256: 574e94a11794ad3d09eb329d00b9508ac04c02c98675368a0c1de103ed922751
Contents?: true
Size: 746 Bytes
Versions: 8
Compression:
Stored size: 746 Bytes
Contents
require 'tb_core' require 'paperclip' require 'tb_liquid' module Spud module Banners class Engine < Rails::Engine engine_name :tb_banners Spud::Core.append_admin_stylesheets('admin/banners/application') Spud::Core.append_admin_javascripts('admin/banners/application') initializer :admin do Spud::Core.config.admin_applications += [{ :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) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems