diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-02 12:54:11 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-02 12:54:11 +0100 |
commit | 930bede6a0a3927d59f35d76801744130bd2edb2 (patch) | |
tree | baf989724dd3171f1795ef674f8ca1f11e5c7dcc /config | |
parent | afd83a42629ab865d1338c823dd04556c00e52cf (diff) | |
download | govuk-mini-environment-admin-release_4.tar govuk-mini-environment-admin-release_4.tar.gz |
Move the gds-sso requirerelease_4
There is a problem with starting the app in the Rails production
environment, moving the require seems to fix the issue.
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 2 | ||||
-rw-r--r-- | config/initializers/gds-sso.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/environment.rb b/config/environment.rb index 426333b..dce382b 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,7 @@ # Load the Rails application. require_relative 'application' +require 'gds-sso' + # Initialize the Rails application. Rails.application.initialize! diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb index d595be8..3e78219 100644 --- a/config/initializers/gds-sso.rb +++ b/config/initializers/gds-sso.rb @@ -1,5 +1,3 @@ -require 'gds-sso' - GDS::SSO.config do |config| config.user_model = 'User' |