Sha256: 4e0588e1379ef09bc10694319b51f068a87c76de8a58ddd7e8470f3a6f0059be
Contents?: true
Size: 533 Bytes
Versions: 43
Compression:
Stored size: 533 Bytes
Contents
module Releaf::Builders::Page class HeaderBuilder include Releaf::Builders::Base include Releaf::Builders::Template def output safe_join do items end end def items [home_link] end def home_link tag(:a, class: "home", href: home_url) do image_tag(home_image_path, alt: home_text) end end def home_url url_for(:releaf_root) end def home_text "Releaf" end def home_image_path "releaf/logo.png" end end end
Version data entries
43 entries across 43 versions & 1 rubygems