diff --git a/app/helpers/items_helper.rb b/app/helpers/items_helper.rb index 27bb19f8fe..60cdd05a7a 100644 --- a/app/helpers/items_helper.rb +++ b/app/helpers/items_helper.rb @@ -19,8 +19,8 @@ module ItemsHelper end def issue_id_or_default(item) - item.new_record? ? "#0" : - link_to("##{item.issue.id}", :controller => "issues", :action => "show", :id => item.issue.id) + item.new_record? ? "0" : + link_to("#{item.issue.id}", :controller => "issues", :action => "show", :id => item.issue.id) end def mark_if_closed(item)