Sha256: 05531da441a2fdfd2dd430c803812f19f8f839f0ff3acebc555f8096cafc56f7
Contents?: true
Size: 881 Bytes
Versions: 1
Compression:
Stored size: 881 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_icon.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) Liquid::Template.register_tag('banner_set', Spud::Banners::BannerSetTag) if defined?(Liquid::Template) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spud_banners-1.0.0 | lib/spud_banners/engine.rb |