Module: Sprockets::Rails::RouteWrapper
- Defined in:
- lib/sprockets/rails/route_wrapper.rb
Instance Method Summary collapse
Instance Method Details
#internal? ⇒ Boolean
8 9 10 |
# File 'lib/sprockets/rails/route_wrapper.rb', line 8 def internal? super || internal_assets_path? end |
#internal_assets_path? ⇒ Boolean
4 5 6 |
# File 'lib/sprockets/rails/route_wrapper.rb', line 4 def internal_assets_path? path =~ %r{\A#{self.class.assets_prefix}\z} end |