diff options
Diffstat (limited to 'app/views/trackers')
-rw-r--r-- | app/views/trackers/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/trackers/index.html.erb b/app/views/trackers/index.html.erb index 5f40cf0ee..7ee6387fd 100644 --- a/app/views/trackers/index.html.erb +++ b/app/views/trackers/index.html.erb @@ -16,7 +16,7 @@ <tr class="<%= cycle("odd", "even") %>"> <td class="name"><%= link_to tracker.name, edit_tracker_path(tracker) %></td> <td> - <% unless tracker.workflow_rules.count > 0 %> + <% unless tracker.workflow_rules.exists? %> <span class="icon icon-warning"> <%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>) </span> |