lib/sprockets/rails/route_wrapper.rb in sprockets-rails-3.4.2 vs lib/sprockets/rails/route_wrapper.rb in sprockets-rails-3.5.0

- old
+ new

@@ -1,23 +1,13 @@ module Sprockets module Rails module RouteWrapper - def internal_assets_path? path =~ %r{\A#{self.class.assets_prefix}\z} end def internal? super || internal_assets_path? - end - - def self.included(klass) - klass.class_eval do - def internal_with_sprockets? - internal_without_sprockets? || internal_assets_path? - end - alias_method_chain :internal?, :sprockets - end end end end end