Sha256: aa81e9262ecc985735bccce93b3634f3319c31db26618609a686404836f9ed65
Contents?: true
Size: 370 Bytes
Versions: 28
Compression:
Stored size: 370 Bytes
Contents
module Sinatra module CaboodleHelpers def method_missing arg Caboodle::Layout[arg] end def title if request.path_info == "/" "#{Caboodle::Site.title} | #{Caboodle::Site.description}" else t = Caboodle::Site.title t = "#{@title} | #{t}" if @title end end end helpers CaboodleHelpers end
Version data entries
28 entries across 28 versions & 1 rubygems