Method: Propshaft::Helper#app_stylesheets_paths
- Defined in:
- lib/propshaft/helper.rb
#app_stylesheets_paths ⇒ Object
Returns a sorted and unique array of logical paths for all stylesheets in app/assets/*/.css.
26 27 28 |
# File 'lib/propshaft/helper.rb', line 26 def app_stylesheets_paths Rails.application.assets.load_path.asset_paths_by_glob("#{Rails.root.join("app/assets")}/**/*.css") end |