Sha256: e2e571a9abc6929de6653acc62c9a5dacab208c55398beb79ca21cc072bee966
Contents?: true
Size: 505 Bytes
Versions: 7
Compression:
Stored size: 505 Bytes
Contents
require 'spud_core' require 'paperclip' module Spud module Media class Engine < Rails::Engine engine_name :spud_media initializer :admin do Spud::Core.configure do |config| config.admin_applications += [{:name => "Media",:thumbnail => "spud/admin/media_thumb.png",:url => "/spud/admin/media",:order => 3,:retina => true}] end end initializer :assets do |config| Rails.application.config.assets.precompile += [ "spud/admin/media*" ] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems