summaryrefslogtreecommitdiff
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-13 20:49:18 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-13 20:49:18 -0400
commit5a90d044f7fddf28b4dc3cd541315bce862f2866 (patch)
tree0bef091d9205dbf2026f01f6530224d0d3db4938 /app/helpers/issues_helper.rb
parentb1ea0b3c01f6d68834957a5f88b04329651802cc (diff)
downloadgitlab-ce-5a90d044f7fddf28b4dc3cd541315bce862f2866.tar.gz
Allow filtering by issues with no assigned... assignee
Continues #1222
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 53ceec471ad..452611fefbd 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -42,4 +42,8 @@ module IssuesHelper
def unassigned_milestone
OpenStruct.new(id: 0, title: 'Unspecified')
end
+
+ def unassigned_issue
+ OpenStruct.new(id: 0, name: 'Unassigned')
+ end
end