Method: Merb::MerbAuth::ApplicationHelper#public_path_for

Defined in:
app/helpers/application_helper.rb

#public_path_for(type, *segments) ⇒ String

Construct a path relative to the public directory



36
37
38
# File 'app/helpers/application_helper.rb', line 36

def public_path_for(type, *segments)
  File.join(::MerbAuth.public_dir_for(type), *segments)
end