Merge pull request #5452 from adullact/5450_fix_for-using-APPLICATION_NAME-in-ENV-file

#5450 - Fix for using APPLICATION_NAME in .env file
This commit is contained in:
Paul Chavard 2020-09-01 14:26:52 +02:00 committed by GitHub
commit e805529d5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,13 @@
require File.expand_path('boot', __dir__) require File.expand_path('boot', __dir__)
require 'rails/all' require 'rails/all'
require_relative 'application_name'
# Require the gems listed in Gemfile, including any gems # Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production. # you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups) Bundler.require(*Rails.groups)
Dotenv::Railtie.load Dotenv::Railtie.load
require_relative 'application_name'
module TPS module TPS
class Application < Rails::Application class Application < Rails::Application