method

asset_file_path!

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.

asset_file_path!(path)
private

No documentation available.

# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 906
        def asset_file_path!(path)
          unless is_uri?(path)
            absolute_path = asset_file_path(path)
            raise(Errno::ENOENT, "Asset file not found at '#{absolute_path}'" ) unless File.exist?(absolute_path)
            return absolute_path
          end
        end