Hide hands of other players

This commit is contained in:
Jesse C. Fisher 2015-08-23 10:29:24 -07:00
parent 7b1c775822
commit 6f0f8e259a

View File

@ -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