summaryrefslogtreecommitdiffstats
path: root/app/views/projects/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/show.rhtml')
-rw-r--r--app/views/projects/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml
index 62b911937..6c82c80b4 100644
--- a/app/views/projects/show.rhtml
+++ b/app/views/projects/show.rhtml
@@ -10,7 +10,7 @@
<% if @project.parent %>
<li><%=l(:field_parent)%>: <%= link_to h(@project.parent.name), :controller => 'projects', :action => 'show', :id => @project.parent %></li>
<% end %>
- <% for custom_value in @custom_values %>
+ <% @project.custom_values.each do |custom_value| %>
<% if !custom_value.value.empty? %>
<li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
<% end %>