projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16923-auth-api-client' refs #16923
[arvados.git]
/
services
/
api
/
config
/
environment.rb
diff --git
a/services/api/config/environment.rb
b/services/api/config/environment.rb
index 9ef3a4a496e10b518ae96cd21a67e7adb5235134..b82ba27f9ae1bd390bdb71c0fd4f79c9c1fb4b70 100644
(file)
--- a/
services/api/config/environment.rb
+++ b/
services/api/config/environment.rb
@@
-1,7
+1,10
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
# Load the rails application
# Load the rails application
-require
File.expand_path('../application', __FILE__)
+require
_relative 'application'
require 'josh_id'
# Initialize the rails application
require 'josh_id'
# Initialize the rails application
-Server::Application.initialize!
-Rails.cache.clear
+Rails.application.initialize!