From a344670d506d506e0f5f5c0ad9e8e941eedb04fc Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Mon, 19 Nov 2012 22:31:24 +0100 Subject: [PATCH] Clean up condition --- app/views/home/show.html.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/home/show.html.erb b/app/views/home/show.html.erb index 53a5675..27d8d61 100644 --- a/app/views/home/show.html.erb +++ b/app/views/home/show.html.erb @@ -17,9 +17,7 @@
- <% if @asciicast -%> - <%= player @asciicast, :speed => 2.0, :hud => false %> - <% end -%> + <%= player @asciicast, :speed => 2.0, :hud => false if @asciicast %>