Sha256: 8eab396e83d23108d106f43e710166c3d1311d994ec14a12242ca95f33f776ca

Contents?: true

Size: 381 Bytes

Versions: 43

Compression:

Stored size: 381 Bytes

Contents

module ApplicationHelper
  def app_name
    "Demo Application"
  end

  def page_title(title_text)
    content_for(:title) { "#{title_text} - #{app_name}" }
  end

  def brand_logo
    image_tag("Rails_logo_80.jpg")
  end

  def copyright_year
    Time.now.year
  end

  def copyright_text
    "Copyright Holder"
  end

  def copyright_link
    "http://www.example.com/"
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
bootswatch_rails-3.3.7.8 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.7 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.6 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.5 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.4 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.3 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.2 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.7.0 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.6.2 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.6.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.5.2 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.5.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.4.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.2.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.1.2 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.1.1 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.1.0 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.0.11 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
bootswatch_rails-3.3.0.10 lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb