Load danbooru_default_config.rb earlier.

Load danbooru_default_config.rb inside application.rb instead of in an
initializer so that it's available as soon as possible.
This commit is contained in:
evazion
2018-01-28 16:49:24 -06:00
parent d70a0a64bd
commit 2fd91bfa20
3 changed files with 9 additions and 11 deletions

View File

@@ -772,4 +772,10 @@ module Danbooru
end
end
end
def config
@configuration ||= EnvironmentConfiguration.new
end
module_function :config
end