Hide hands of other players
This commit is contained in:
parent
7b1c775822
commit
6f0f8e259a
@ -33,7 +33,7 @@
|
||||
%strong= "My Turn " if @game.active_player == player
|
||||
|
||||
// Show the players' cards
|
||||
- unless player.inventory.empty?
|
||||
- if player.user == current_user && player.inventory.empty? == false
|
||||
%ul.cards
|
||||
- player.inventory.each do |card|
|
||||
%li
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user