Sha256: 1e351f5b6bf25dc2190b703c98362d04288713a6289333b8b5398c9a432fc529
Contents?: true
Size: 399 Bytes
Versions: 16
Compression:
Stored size: 399 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
16 entries across 16 versions & 1 rubygems