Sha256: 4d02fb3f067de813057ce9bee1d855e84acd77fd1f45d89a4ff12cc429076d85
Contents?: true
Size: 308 Bytes
Versions: 8
Compression:
Stored size: 308 Bytes
Contents
module Storytime module Constraints class PageHomepageConstraint include Storytime::Concerns::CurrentSite def matches?(request) site = current_storytime_site(request) site.present? && site.homepage.present? && site.homepage.is_a?(Storytime::Page) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems