module PageHelper
Public Instance Methods
meta_desc(desc)
click to toggle source
# File lib/generators/pages/templates/page_helper.rb, line 10 def meta_desc(desc) content_for(:meta_desc) { desc.to_s } end
meta_keywords(desc)
click to toggle source
# File lib/generators/pages/templates/page_helper.rb, line 14 def meta_keywords(desc) content_for(:meta_keywords) { desc.to_s } end
page_name(name)
click to toggle source
# File lib/generators/pages/templates/page_helper.rb, line 6 def page_name(name) content_for(:page_name) { name.to_s } end
title(page_title)
click to toggle source
# File lib/generators/pages/templates/page_helper.rb, line 2 def title(page_title) content_for(:title) { page_title.to_s + " | Application Name" } end