]> git.openstreetmap.org Git - rails.git/blob - app/helpers/asset_helper.rb
Remove default enabling of gravatar, check on initial confirmation of e-mail address...
[rails.git] / app / helpers / asset_helper.rb
1 module AssetHelper
2   def assets(directory)
3     Rails.application.assets_manifest.assets.keys.each_with_object({}) do |asset, assets|
4       assets[asset] = asset_path(asset) if asset.start_with?("#{directory}/")
5     end
6   end
7 end