Module: Ember::Appkit::Rails::Sprockets::DirectiveProcessor

Defined in:
lib/ember/appkit/rails/sprockets/directive_processor.rb

Instance Method Summary collapse

Instance Method Details

#process_require_environment_from_directive(path) ⇒ Object


4
5
6
# File 'lib/ember/appkit/rails/sprockets/directive_processor.rb', line 4

def process_require_environment_from_directive(path)
  context.require_asset(File.join(path, ::Rails.env))
end