Welcome to mirror list, hosted at ThFree Co, Russian Federation.

environment.rb « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5d35937f7c614f906b7e88e869bb6a703c282e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
# Load the rails application

# Remove this condition when upgraded to rails 5.0.
if %w[1 true].include?(ENV["RAILS5"])
  require_relative 'application'
else
  require File.expand_path('application', __dir__)
end

# Initialize the rails application
Rails.application.initialize!