module ApplicationHelper
Public Instance Methods
app_name()
click to toggle source
# File lib/ucb_rails_cli/templates/helpers/application_helper.rb, line 3 def app_name "%APP_NAME" end
app_name_with_env()
click to toggle source
# File lib/ucb_rails_cli/templates/helpers/application_helper.rb, line 7 def app_name_with_env Rails.env.production? ? app_name : "#{app_name} - #{Rails.env.titleize}" end
start_year()
click to toggle source
year that this project was first launched
# File lib/ucb_rails_cli/templates/helpers/application_helper.rb, line 17 def start_year %APP_START_YEAR end