method

expand_stylesheet_sources

rails latest stable - Class: ActionView::Helpers::AssetTagHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

expand_stylesheet_sources(sources, recursive)
private

No documentation available.

# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 854
        def expand_stylesheet_sources(sources, recursive)
          if sources.first == :all
            collect_asset_files(config.stylesheets_dir, ('**' if recursive), '*.css')
          else
            sources.collect do |source|
              determine_source(source, @@stylesheet_expansions)
            end.flatten
          end
        end