Sha256: e666084601e46eb3fec391f38b704b0a2afc70d1c17bc93ce5f39bcdd4552df1
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
module ApplicationHelper def full_title title base_title = "<%= app_name.humanize.titleize %>" if title.empty? "#{base_title}" else "#{base_title} | #{title}" end end def meta_description description base_description = "<%= app_name.humanize.titleize %>" if description.empty? base_description else description end end def meta_keywords keywords base_keywords = "<%= app_name.humanize.downcase %>" if keywords.empty? base_keywords else keywords end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mosh_generator-0.1.1 | templates/app_directory/helpers/application_helper.rb.tt |
mosh_generator-0.1.0 | templates/app_directory/helpers/application_helper.rb.tt |