From 55c6deae283b80adc5b664fd1ca592028fed10b0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 28 Apr 2014 10:19:22 -0400 Subject: tidy views/common/_show_tournament.html.erb --- app/views/common/_show_tournament.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/common/_show_tournament.html.erb b/app/views/common/_show_tournament.html.erb index 5659947..454377e 100644 --- a/app/views/common/_show_tournament.html.erb +++ b/app/views/common/_show_tournament.html.erb @@ -1,7 +1,7 @@
- <%= image_tag(target.game.name.downcase.tr(" ", "_").tr(",", "") + ".png", class: "t-image") %> -

<%= Game.find(target.game_id).name %>

+ <%= image_tag(target.game.name.parameterize.underscore + ".png", class: "t-image") %> +

<%= Game.find(target.game_id).name %>

<%# "header" %> @@ -40,4 +40,4 @@ <% end %> <% end %>
-
\ No newline at end of file + -- cgit v1.2.3