Skip to content

Commit

Permalink
move the secret_key_base monkey patch earlier in the startup, instead…
Browse files Browse the repository at this point in the history
… of after_initialize
  • Loading branch information
stuzart committed Jan 10, 2025
1 parent cd81d57 commit 0793066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/seek_main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
require 'acts_as_list'
require 'uuid'
require 'libreconv'
require 'extensions/secret_key_base'

Rails.configuration.after_initialize do
require 'extensions/object'
require 'extensions/array'
require 'extensions/bio'
require 'extensions/private_address_check_monkeypatch'
require 'extensions/string'
require 'extensions/secret_key_base'


SEEK::Application.configure do
ASSET_ORDER = ['Person', 'Programme', 'Project', 'Institution', 'Investigation', 'Study', 'Assay', 'Strain', 'DataFile', 'Model', 'Sop', 'Publication', 'Presentation','SavedSearch', 'Organism', 'HumanDisease', 'Event']
Expand Down

0 comments on commit 0793066

Please sign in to comment.