method

determine_source

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
determine_source(source, collection) 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 864
        def determine_source(source, collection)
          case source
          when Symbol
            collection[source] || raise(ArgumentError, "No expansion found for #{source.inspect}")
          else
            source
          end
        end
Register or log in to add new notes.