summaryrefslogtreecommitdiff
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-23 17:06:26 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-05-23 17:06:26 -0400
commit7001842dc463f1ba9ac4f1479c7310c75707c35b (patch)
tree95f8c1a11f96ee3fa96ebb7710552373c37ab12e /app/helpers/issues_helper.rb
parentc002a560afae7db6a5c778bc78028243c2fc945a (diff)
downloadgitlab-ce-7001842dc463f1ba9ac4f1479c7310c75707c35b.tar.gz
Remove `issue_to_atom` helperrs-remove-issue_to_atom
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 198d39455d7..551409e8855 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -105,23 +105,6 @@ module IssuesHelper
return 'hidden' if issue.closed? == closed
end
- def issue_to_atom(xml, issue)
- xml.entry do
- xml.id namespace_project_issue_url(issue.project.namespace,
- issue.project, issue)
- xml.link href: namespace_project_issue_url(issue.project.namespace,
- issue.project, issue)
- xml.title truncate(issue.title, length: 80)
- xml.updated issue.created_at.xmlschema
- xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(issue.author_email))
- xml.author do |author|
- xml.name issue.author_name
- xml.email issue.author_email
- end
- xml.summary issue.title
- end
- end
-
def merge_requests_sentence(merge_requests)
# Sorting based on the `!123` or `group/project!123` reference will sort
# local merge requests first.