instance method image_path

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.2.22.5

Available in: v3.1.12 v3.2.22.5

Signature

image_path(source)

No documentation comment.

Parameters

source req
Source
# File actionpack/lib/sprockets/helpers/rails_helper.rb, line 61
      def image_path(source)
        path_to_asset(source)
      end

Defined in actionpack/lib/sprockets/helpers/rails_helper.rb line 61 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Sprockets::Helpers::RailsHelper

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close