mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 16:18:17 +00:00
formatting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b16bd5722f
commit
8ce30a1d6e
1 changed files with 3 additions and 3 deletions
|
|
@ -6,9 +6,9 @@ class UploadPolicy < ApplicationPolicy
|
|||
user.is_admin? || record.user_id == user.id
|
||||
end
|
||||
|
||||
def update?
|
||||
user.is_admin? || record.user_id == user.id
|
||||
end
|
||||
def update?
|
||||
user.is_admin? || record.user_id == user.id
|
||||
end
|
||||
|
||||
class Scope < ApplicationPolicy::Scope
|
||||
def resolve
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue