Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-22 02:02:49 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-05-23 19:37:40 +0300
commit66cebb6f61193a5fb4199b85580a312ed6d94b42 (patch)
treeda0f9a0822dee28c8c62b42d08a4840f612ed299 /app/views/dashboard
parent00fa9a769d632d010f741ccb5492fdda66b11996 (diff)
Remove `event_to_atom` helper
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/projects/index.atom.builder4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/dashboard/projects/index.atom.builder b/app/views/dashboard/projects/index.atom.builder
index d4daf07c6c0..fb5be63b472 100644
--- a/app/views/dashboard/projects/index.atom.builder
+++ b/app/views/dashboard/projects/index.atom.builder
@@ -6,7 +6,5 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.id dashboard_projects_url
xml.updated @events[0].updated_at.xmlschema if @events[0]
- @events.each do |event|
- event_to_atom(xml, event)
- end
+ xml << render(partial: 'events/event', collection: @events) if @events.any?
end