class Padrino::Helpers::Breadcrumb

def set_home(url, caption, options = {})

Other tags:
    Api: - public

Parameters:
  • options (Hash) --
  • caption (String) --
  • url (String) --
def set_home(url, caption, options = {})
  self.home = {
    :url     => url.to_s,
    :caption => caption.to_s.humanize.html_safe,
    :name    => :home,
    :options => options
  }
  reset
end