2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-20 18:52:44 +08:00
discourse/lib/discourse_dev.rb
Vinoth Kannan 6abc45e57b
DEV: move discourse_dev gem to the core. (#13360)
And get avatar images from `discourse_dev_assets` gem.
2021-06-14 20:34:44 +05:30

15 lines
243 B
Ruby

# 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