mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 14:29:38 +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
|