Sha256: 42066f1d8475ff481288d28b7a1dee6be80d5449794a463a3b1de2e2bc0307bb
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
module AMD class Engine < ::Rails::Engine isolate_namespace AMD initializer 'amd.configuration.assets' do |app| app.config.assets.precompile = %w( *.amd.js* amd.js.coffee ) + app.config.assets.precompile end def setup yield self end mattr_accessor :amd_dir @@amd_dir = 'amd' def self.amd_module(controller) "#{controller.controller_path}/amd/#{controller.controller_name}/#{controller.action_name}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
amd-0.1.3 | lib/amd/engine.rb |
amd-0.1.2 | lib/amd/engine.rb |
amd-0.1.1 | lib/amd/engine.rb |