Sha256: bac296b020559959f79d151d0b96a5d6ac7c600e75c3f5a81b34e37fb291e302

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 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')
    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.3.2 lib/ember/appkit/rails/sprockets/context.rb
ember-appkit-rails-0.3.1 lib/ember/appkit/rails/sprockets/context.rb