Merge branch '14584-runtime-user-reuse' refs #14584
[arvados.git] / services / api / config / initializers / legacy_jobs_api.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Config must be done before we  files; otherwise they
6 # won't be able to use Rails.configuration.* to initialize their
7 # classes.
8 require_relative 'load_config.rb'
9
10 require 'enable_jobs_api'
11
12 Server::Application.configure do
13   if ActiveRecord::Base.connection.tables.include?('jobs')
14     check_enable_legacy_jobs_api
15   end
16 end