method

expand_stylesheet_sources

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
expand_stylesheet_sources(sources) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 534
        def expand_stylesheet_sources(sources)
          if sources.first == :all
            @@all_stylesheet_sources ||= Dir[File.join(STYLESHEETS_DIR, '*.css')].collect { |file| File.basename(file).split(".", 1).first }.sort
          else
            sources
          end
        end
Register or log in to add new notes.