Module: ApplicationHelper
- Defined in:
- lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb
Instance Method Summary collapse
- #app_name ⇒ Object
- #brand_logo ⇒ Object
- #copyright_link ⇒ Object
- #copyright_text ⇒ Object
- #copyright_year ⇒ Object
Instance Method Details
#app_name ⇒ Object
2 3 4 |
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 2 def app_name "Demo Application" end |
#brand_logo ⇒ Object
6 7 8 |
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 6 def brand_logo image_tag("Rails_logo_80.jpg") end |
#copyright_link ⇒ Object
18 19 20 |
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 18 def copyright_link "http://www.example.com/" end |
#copyright_text ⇒ Object
14 15 16 |
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 14 def copyright_text "Copyright Holder" end |
#copyright_year ⇒ Object
10 11 12 |
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 10 def copyright_year Time.now.year end |