Sha256: 891e971bed2dc181a99caffc19232585b70fbd4b142ffaf2b019cfdc60e588bf

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 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')
    super
  end
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

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