Sha256: b3e994d653c07f57f2ded36b2dbfb8d86f0be206bac13bcc43e9c2e91834ef4e
Contents?: true
Size: 401 Bytes
Versions: 51
Compression:
Stored size: 401 Bytes
Contents
module ScopedHelper def self.included(base) base.module_eval do def title t = current_site.name t = TrustyCms::Config['admin.title'] || 'Radiant CMS' 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
51 entries across 51 versions & 2 rubygems