We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efc278 commit f117b61Copy full SHA for f117b61
lib/rubycas-server-core.rb
@@ -11,10 +11,6 @@
11
require "rubycas-server-core/tickets"
12
13
module RubyCAS
14
- def self.root
15
- File.dirname __dir__
16
- end
17
-
18
module Server
19
module Core
20
extend self
lib/rubycas-server-core/settings.rb
@@ -14,8 +14,7 @@ module Settings
def load!(config)
if config.is_a? String
- config_dir = File.join RubyCAS.root, config
- @_settings.merge! YAML::load_file(config_dir).with_indifferent_access
+ @_settings.merge! YAML::load_file(config).with_indifferent_access
elsif config.is_a? Hash
@_settings.merge!(config)
21
end
0 commit comments