Flowdock
method

expand_stylesheet_sources

Importance_0
v2.1.0 - 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 580
        def expand_stylesheet_sources(sources)
          if sources.first == :all
            @@all_stylesheet_sources ||= Dir[File.join(STYLESHEETS_DIR, '*.css')].collect { |file| File.basename(file).gsub(/\.\w+$/, '') }.sort
          else
            sources.collect do |source|
              determine_source(source, @@stylesheet_expansions)
            end.flatten
          end
        end
Register or log in to add new notes.