Sha256: d89197afa4902089a4a8830eb72098ed8742711104949836f6b8018d4626761f

Contents?: true

Size: 191 Bytes

Versions: 7

Compression:

Stored size: 191 Bytes

Contents

module ApplicationHelper

  def title
    base_title = "Ruby on Rails Tutorial Sample App"
    if @title.nil?
      base_title
    else
      "#{base_title} | #{@title}"
    end
  end
  
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails_dbc-0.1.1 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails_dbc-0.1 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails-0.6.2 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails-0.6.1 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails-0.6.0 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb
tft_rails-0.5.1 lib/generators/chapter07/begin/templates/app/helpers/application_helper.rb