Sha256: 051437d96bff612be0b86a7e44709ba543bd3cc6c898af49db882d3c6df272f1
Contents?: true
Size: 466 Bytes
Versions: 26
Compression:
Stored size: 466 Bytes
Contents
module CamaleonCms::Admin::BreadcrumbHelper # draw the title for the admin admin panel according the breadcrumb def cama_admin_title_draw res = [t("camaleon_cms.admin.sidebar_top.admin_panel")] @breadcrumbs.reverse.slice(0, 2).reverse.each{|b| res << b.name } res.join(" » ") end # add breadcrumb item at the end # label => label of the link # url: url for the link # DEPRECATED def admin_breadcrumb_add(label, url = "") end end
Version data entries
26 entries across 26 versions & 1 rubygems