Sha256: 6ef5ac20d18c19eadd703d6eb939c55fcefc14b1f8eae7d199afb9e86854ba77
Contents?: true
Size: 771 Bytes
Versions: 2
Compression:
Stored size: 771 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/photos/photo_albums_thumb.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spud_banners-0.9.0 | lib/spud_banners/engine.rb |
spud_banners-0.0.1 | lib/spud_banners/engine.rb |