Sha256: bd3fd8e1368d55a549a57a0b228a536b9ee1874470235ff11a09b883f6345afb

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module RubyOnRailsWebapp
  class Application < Rails::Application


    # Set this if you want to get the error_description
    # OmniAuth.config.on_failure = Proc.new { |env|
    #   message_key = env['omniauth.error.type']
    #   error_description = Rack::Utils.escape(env['omniauth.error'].error_reason)
    #   new_path = "#{env['SCRIPT_NAME']}#{OmniAuth.config.path_prefix}/failure?message=#{message_key}&error_description=#{error_description}"
    #   Rack::Response.new(['302 Moved'], 302, 'Location' => new_path).finish
    # }
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-auth0-1.4.2 examples/ruby-on-rails-webapp/config/application.rb
omniauth-auth0-1.4.1 examples/ruby-on-rails-webapp/config/application.rb
omniauth-auth0-1.4.0 examples/ruby-on-rails-webapp/config/application.rb