Sha256: 2c3eccc7f85a97fad39ad7cf94f321c9eaf28be761bd09efbc4d04112512f55c
Contents?: true
Size: 767 Bytes
Versions: 6
Compression:
Stored size: 767 Bytes
Contents
require 'spud_core' require 'paperclip' require 'liquid' module Spud module Banners class Engine < Rails::Engine engine_name :spud_banners Spud::Core.append_admin_stylesheets('spud/admin/banners/application') Spud::Core.append_admin_javascripts('spud/admin/banners/application') initializer :admin do Spud::Core.config.admin_applications += [{ :name => 'Banner Sets', :thumbnail => 'spud/admin/banners/banners.png', :retina => true, :url => '/spud/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
6 entries across 6 versions & 1 rubygems