From a07cfe7593061d332489aaed63108a2eed65bf02 Mon Sep 17 00:00:00 2001 From: Yibing Chen Date: Thu, 1 Dec 2016 20:45:59 -0800 Subject: [PATCH] humunize column name --- app/views/projects/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml index 14a820d..86080c4 100644 --- a/app/views/projects/index.html.haml +++ b/app/views/projects/index.html.haml @@ -8,7 +8,7 @@ %tr %th{:class => @class}= link_to "Project Name", projects_path(:type => "project_name"), :id => "project_name" - @metric_names.each do |metric_name| - %th{:class => @class}= link_to metric_name, projects_path(:type => metric_name), :id => metric_name + %th{:class => @class}= link_to metric_name.humanize, projects_path(:type => metric_name), :id => metric_name %tbody - @projects.each do |project|