Sha256: f474e8308370b483b195e61c0aff5d7f40de0bd38913401a5c08ff29c3131cd5

Contents?: true

Size: 489 Bytes

Versions: 4

Compression:

Stored size: 489 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}]
				end
			end
			initializer :assets do |config| 
				Rails.application.config.assets.precompile += [ 
				     "spud/admin/media*"
				]
			 end
		 end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_media-0.8.1 lib/spud_media/engine.rb
spud_media-0.8.0 lib/spud_media/engine.rb
spud_media-0.4.1 lib/spud_media/engine.rb
spud_media-0.4.0 lib/spud_media/engine.rb