Module: Ember::Appkit::Rails::Sprockets::Context

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

Instance Method Summary collapse

Instance Method Details

#asset_requirable?(path) ⇒ Boolean

Returns:

  • (Boolean)

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

def asset_requirable?(path)
  return false if path.to_s.match(File.join(::Rails.root, 'app/assets/javascripts')) || path.to_s.match(File.join(::Rails.root, 'lib/assets/javascripts'))
  super
end