Module: ApplicationHelper

Defined in:
lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#app_nameObject



2
3
4
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 2

def app_name
  "Demo Application"
end

#brand_logoObject



6
7
8
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 6

def 
  image_tag("Rails_logo_80.jpg")
end


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


14
15
16
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 14

def copyright_text
  "Copyright Holder"
end


10
11
12
# File 'lib/generators/bootswatch_rails/install/templates/app/helpers/application_helper.rb', line 10

def copyright_year
  Time.now.year
end