summaryrefslogtreecommitdiff
path: root/app/views/dashboard/issues.atom.builder
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-27 09:31:15 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-27 09:31:15 +0300
commitf5551efdfd71c6aedb609093374a6c4dbed6a78b (patch)
tree226bcf5561a02cea3c1b95339f7063a389cb7bf4 /app/views/dashboard/issues.atom.builder
parent70bf7f6e191c0e99ad03e1eec2ecbe2aae53fa09 (diff)
downloadgitlab-ce-f5551efdfd71c6aedb609093374a6c4dbed6a78b.tar.gz
Rewrite and improve git backend logic. Fix project movind. Raise exception to prevent unexpected issues
Diffstat (limited to 'app/views/dashboard/issues.atom.builder')
-rw-r--r--app/views/dashboard/issues.atom.builder8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/dashboard/issues.atom.builder b/app/views/dashboard/issues.atom.builder
index 5bd07bcd89f..28bdc5ed814 100644
--- a/app/views/dashboard/issues.atom.builder
+++ b/app/views/dashboard/issues.atom.builder
@@ -1,9 +1,9 @@
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
- xml.title "#{@user.name} issues"
- xml.link :href => dashboard_issues_url(:atom, :private_token => @user.private_token), :rel => "self", :type => "application/atom+xml"
- xml.link :href => dashboard_issues_url(:private_token => @user.private_token), :rel => "alternate", :type => "text/html"
- xml.id dashboard_issues_url(:private_token => @user.private_token)
+ xml.title "#{current_user.name} issues"
+ xml.link :href => dashboard_issues_url(:atom, :private_token => current_user.private_token), :rel => "self", :type => "application/atom+xml"
+ xml.link :href => dashboard_issues_url(:private_token => current_user.private_token), :rel => "alternate", :type => "text/html"
+ xml.id dashboard_issues_url(:private_token => current_user.private_token)
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
@issues.each do |issue|