Sha256: 60860e3db1665a6fca06883bae2aae5e9173302491819a5db6b5f467f62b7bf6

Contents?: true

Size: 266 Bytes

Versions: 13

Compression:

Stored size: 266 Bytes

Contents

module UcbRails::ApplicationHelper
  
  def app_name
    "Untitled App"
  end
  
  # TODO: resolve w/handing of brand() in bootstrap-view-helpers
  def app_name_with_env
    RailsEnvironment.production? ? app_name : "#{app_name} - #{Rails.env.titleize}"
  end
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.13 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.12 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.11 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.10 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.9 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.8 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.7 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.6 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.5 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.4 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.3 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb
ucb_rails-0.0.2 lib/generators/ucb_rails/templates/app/helpers/ucb_rails/application_helper.rb