Sha256: 655a0eeebf74cf3ca426ff5f17175c9ab7f2449a9d7c6446647a5bb4258f8c88
Contents?: true
Size: 238 Bytes
Versions: 4
Compression:
Stored size: 238 Bytes
Contents
module Headmin class BlocksView < ViewModel def show_blocks? blockable&.respond_to?(:blocks) end def paths @paths || [] end def prefixes paths + ["website/blocks", "blocks", ""] end end end
Version data entries
4 entries across 4 versions & 1 rubygems