mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: move discourse_dev gem to the core. (#13360)
And get avatar images from `discourse_dev_assets` gem.
This commit is contained in:
15
lib/discourse_dev.rb
Normal file
15
lib/discourse_dev.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user