Method: Merb::MerbAuth::ApplicationHelper#image_path

Defined in:
app/helpers/application_helper.rb

#image_path(*segments) ⇒ String

Returns A path relative to the public directory, with added segments.

Parameters:

  • *segments (Array[#to_s])

    Path segments to append.

Returns:

  • (String)

    A path relative to the public directory, with added segments.



9
10
11
# File 'app/helpers/application_helper.rb', line 9

def image_path(*segments)
  public_path_for(:image, *segments)
end