mirror of
https://github.com/discourse/discourse.git
synced 2025-08-21 19:11:18 +08:00
fix image uploads on s3/imgur
This commit is contained in:
parent
2465c9c724
commit
e3e55d4dad
11 changed files with 202 additions and 174 deletions
|
@ -14,6 +14,9 @@ module Discourse
|
|||
# When something they want is not found
|
||||
class NotFound < Exception; end
|
||||
|
||||
# When a setting is missing
|
||||
class SiteSettingMissing < Exception; end
|
||||
|
||||
def self.cache
|
||||
@cache ||= Cache.new
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue