Sha256: 45f80722d8a594efd3f1916195f147e66246a7ba508912c1c3a8446232b41d39
Contents?: true
Size: 876 Bytes
Versions: 1
Compression:
Stored size: 876 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) 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.rc1 | lib/spud_banners/engine.rb |