Sha256: ef5be93153072b50d6e05679f956ac41827b815e8cf857f84de78aff7141659b
Contents?: true
Size: 487 Bytes
Versions: 18
Compression:
Stored size: 487 Bytes
Contents
require_relative './brick' module Kuhsaft class PlaceholderBrick < Brick PARTIAL_PATH = '/app/views/kuhsaft/placeholder_bricks/partials/_*.haml' def self.available_partials @partials ||= Kuhsaft::PartialExtractor.new.partials(PARTIAL_PATH) end def user_can_add_childs? false end def partial_name "kuhsaft/placeholder_bricks/partials/#{template_name}" end def cache_key super + partial_digest(partial_name) end end end
Version data entries
18 entries across 18 versions & 2 rubygems