discourse/lib/discourse_dev.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
243 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module DiscourseDev
def self.config
@config ||= Config.new
end
def self.settings_file
File.join(root, "config", "settings.yml")
end
def self.root
File.expand_path("..", __dir__)
end
end