Allow a GPX to be fetched in XML format by fetching data.xml instead
[rails.git] / config / initializers / assert_tag_helper.rb
1 module ActionView
2   module Helpers
3     module AssetTagHelper
4       def rewrite_asset_path!(source)
5         asset_id = rails_asset_id(source)
6         source << "/#{asset_id}" if !asset_id.blank?
7       end
8     end
9   end
10 end