add helper to show if a pet or mount is owned by the user
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module WowMountsHelper
|
||||
def mount_owned?(mount)
|
||||
mount.users.include? current_user
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user