Screenshot upload process fixed and tested
This commit is contained in:
parent
125e9c8ee5
commit
9428d8d7dd
5 changed files with 60 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ class Screenshot < ApplicationRecord
|
|||
end
|
||||
|
||||
# Publish a screenshot from the moderation queue
|
||||
def approve_screenshot!
|
||||
def approve!
|
||||
self.delete_reason = nil
|
||||
self.markedfordelete = false
|
||||
self.approved = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue