Sha256: 65a555ce15fc79c4caa11679d95a043063314be2bed11066a769a55513f7d4a7

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require 'sprockets/context'

module Ember::Appkit::Rails::Sprockets::Context
  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
end

Sprockets::Context.send(:prepend, Ember::Appkit::Rails::Sprockets::Context)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ember-appkit-rails-0.5.0 lib/ember/appkit/rails/sprockets/context.rb
ember-appkit-rails-0.4.0 lib/ember/appkit/rails/sprockets/context.rb