mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 22:48:45 +08:00
6abc45e57b
And get avatar images from `discourse_dev_assets` gem.
16 lines
243 B
Ruby
16 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
|