Update configuration after the Rails upgrade

Ran `bin/rake rails:upgrade` and went through all the changes.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
Matt Rogers 2018-10-17 09:38:04 -05:00
parent c7b9f008a6
commit 859701a81f
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
17 changed files with 215 additions and 59 deletions

View file

@ -1,4 +1,4 @@
require File.expand_path('../boot', __FILE__)
require_relative 'boot'
require 'rails/all'
@ -33,7 +33,5 @@ module Tracksapp
# configure Tracks to handle deployment in a subdir
config.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
end
end