mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 09:42:59 +08:00
![Sam](/assets/img/avatar_default.png)
* SECURITY: only allow picking of avatars created by self Also adds origin tracking to all uploads including de-duplicated uploads
5 lines
82 B
Ruby
5 lines
82 B
Ruby
class UserUpload < ActiveRecord::Base
|
|
belongs_to :upload
|
|
belongs_to :user
|
|
end
|