Flowdock
method

rewrite_extension

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: AssetPaths
rewrite_extension(source, dir, ext) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/sprockets/helpers/rails_helper.rb, line 157
        def rewrite_extension(source, dir, ext)
          if ext && File.extname(source) != ".#{ext}"
            "#{source}.#{ext}"
          else
            source
          end
        end
Register or log in to add new notes.