From 6f0f8e259a3dcc37126b148c7d1b1ba32b157023 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 23 Aug 2015 10:29:24 -0700 Subject: [PATCH] Hide hands of other players --- app/views/games/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/games/show.html.haml b/app/views/games/show.html.haml index d0664be..0b43303 100644 --- a/app/views/games/show.html.haml +++ b/app/views/games/show.html.haml @@ -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