Sha256: 9c46497666d8e2408fb9b5a03afd79141f6b1b5c5b5cdc19299233229cb47d0d

Contents?: true

Size: 176 Bytes

Versions: 4

Compression:

Stored size: 176 Bytes

Contents

module ApplicationHelper

  def app_name
    "%APP_NAME"
  end

  def app_name_with_env
    Rails.env.production? ? app_name : "#{app_name} - #{Rails.env.titleize}"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ucb_rails_cli-1.2.0 lib/ucb_rails_cli/templates/helpers/application_helper.rb
ucb_rails_cli-1.1.0 lib/ucb_rails_cli/templates/helpers/application_helper.rb
ucb_rails_cli-1.0.0 lib/ucb_rails_cli/templates/helpers/application_helper.rb
ucb_rails_cli-0.9.0 lib/ucb_rails_cli/templates/helpers/application_helper.rb