users should be able to star others maps
This commit is contained in:
parent
69cff163dc
commit
919532af81
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class MapPolicy < ApplicationPolicy
|
|||
end
|
||||
|
||||
def unstar?
|
||||
user.present? && record.user == user
|
||||
user.present?
|
||||
end
|
||||
|
||||
def screenshot?
|
||||
|
|
Loading…
Add table
Reference in a new issue