mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 16:53:44 +08:00
8 lines
129 B
Ruby
8 lines
129 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module BookmarkGuardian
|
||
|
def can_delete_bookmark?(bookmark)
|
||
|
@user == bookmark.user
|
||
|
end
|
||
|
end
|