--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: path_to_image
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Computes the path to an image asset in the public images directory. Full paths from the document root will be passed through. Used internally by <tt>image_tag</tt> to build the image path.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  image_path(&quot;edit&quot;)                                         # =&gt; /images/edit\n  image_path(&quot;edit.png&quot;)                                     # =&gt; /images/edit.png\n  image_path(&quot;icons/edit.png&quot;)                               # =&gt; /images/icons/edit.png\n  image_path(&quot;/icons/edit.png&quot;)                              # =&gt; /icons/edit.png\n  image_path(&quot;http://www.railsapplication.com/img/edit.png&quot;) # =&gt; http://www.railsapplication.com/img/edit.png\n"
full_name: ActionView::Helpers::AssetTagHelper#image_path
is_singleton: false
name: image_path
params: (source)
visibility: public
