Sha256: 720a701ab984e4b02d8c5a3eccbc86079527697b8ab02d67b39c17ab6b46c351
Contents?: true
Size: 670 Bytes
Versions: 16
Compression:
Stored size: 670 Bytes
Contents
module Lipsiadmin module View module Helpers module FrontendHelper # Set the title of the page and append at the end the name of the project # Usefull for google & c. def title(text) content_for(:title) { text + " - #{AppConfig.project}" } end # Set the meta description of the page # Usefull for google & c. def description(text) content_for(:description) { text } end # Set the meta keywords of the page # Usefull for google & c. def keywords(text) content_for(:keywords) { text } end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems