]> git.openstreetmap.org Git - rails.git/blob - config/initializers/asset_tag_helper.rb
Added min_lat > max_lat test.
[rails.git] / config / initializers / asset_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