Sha256: 771e9def6e2b8510c1550ba03ae787c95340266f85a688ae14b5f537df2d14f4
Contents?: true
Size: 396 Bytes
Versions: 92
Compression:
Stored size: 396 Bytes
Contents
module ScopedHelper def self.included(base) base.module_eval do def title t = current_site.name t = TrustyCms::Config['admin.title'] || 'TrustyCMS' if t.blank? t end def subtitle st = current_site.subtitle st = TrustyCms::Config['admin.subtitle'] || 'publishing for small teams' if st.blank? st end end end end
Version data entries
92 entries across 92 versions & 1 rubygems