Sha256: 8214451bdc1ccbf35c63ee67b08f79a2b8d4b074afcce3b5aec38e66c4f87628
Contents?: true
Size: 601 Bytes
Versions: 18
Compression:
Stored size: 601 Bytes
Contents
module Landable class NullPageDecorator < Landable::PageDecorator def initialize end def title # Obviously, this should instead be configured with Landable in some way, # such that you can register the titles you want everywhere. Or, of course, # a more reasonable way to bypass Landable entirely yet still use the # `landable` helper. Just waiting to tease out what features we need. content_tag('title', 'No current page; default title') end def meta_tags '' end def path '' end def body '' end end end
Version data entries
18 entries across 18 versions & 1 rubygems