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:
@@ -772,4 +772,10 @@ module Danbooru
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def config
|
||||
@configuration ||= EnvironmentConfiguration.new
|
||||
end
|
||||
|
||||
module_function :config
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user