Sha256: d02fbf5787de2a6e10f93177080646075a752aa9235045cf3ee1a9fa8a6bc050

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 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

3 entries across 3 versions & 1 rubygems

Version Path
jfs-generators-0.2.0 rails_generators/jfs_layout/templates/helper.rb
jfs-generators-0.2.4 rails_generators/jfs_layout/templates/helper.rb
jfs-generators-0.2.3 rails_generators/jfs_layout/templates/helper.rb