]> git.openstreetmap.org Git - rails.git/blob - app/helpers/asset_helper.rb
Use bootstrap utility class instead of custom css
[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