Sha256: beef2ace20514e18f0ed1bc9a4e4158dfd149620b78dbf14cb90b52a4450a09e
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
<% if Dir.exists?(Rails.root.join("app", "components") ) %> <% depend_on Rails.root.join('app', 'components').to_s %> <% Dir.glob(Rails.root.join('app', 'components', '*')).each do |component_dir| component = File.basename component_dir begin require_asset "#{component}/#{component}" rescue Sprockets::FileNotFound Rails.logger.debug("MountainView: stylesheet not found for component '#{component}'") %> /* MountainView: stylesheet not found for component '<%= component %>' */ <% end end %> <% else %> <% depend_on Rails.root.join('app').to_s %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mountain_view-0.5.0 | app/assets/stylesheets/mountain_view.css.erb |