Sha256: 431d7e2bdbcd08c446884e9778953898f3615149b3377d421d1c0e3102f086e3
Contents?: true
Size: 464 Bytes
Versions: 35
Compression:
Stored size: 464 Bytes
Contents
# These helper methods can be called in your template to set variables to be used in the layout # This module should be included in all views globally, # to do so you may need to add this line to your ApplicationController # helper :layout module SbdevCoreHelper def render_seo(index) content_for(:title, index.try("page_title")) content_for(:keywords, index.try("keywords")) content_for(:page_description, index.try("page_description")) end end
Version data entries
35 entries across 35 versions & 1 rubygems