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