Sha256: 8290cf07c25cee5744e9f51bb862ad92f0c1ab8029f313714b95c56a760af5e5
Contents?: true
Size: 234 Bytes
Versions: 13
Compression:
Stored size: 234 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
13 entries across 13 versions & 1 rubygems