Sha256: 7a1f081d8402dc4298fb5286b05261ec7f26cf1d642eecb0cf3d3861354c7f05
Contents?: true
Size: 334 Bytes
Versions: 21
Compression:
Stored size: 334 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 LayoutHelper def title(page_title) @content_for_title = page_title.to_s end end
Version data entries
21 entries across 21 versions & 2 rubygems