mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 04:23:49 +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
|