summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-14 21:54:49 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-14 21:54:49 +0200
commit0ff468160e11270af7178d2494d0d6dabde20a6e (patch)
treedde64e2430a97330a3637df63b85ca71c942e233 /app/views/dashboard
parentf03dc8716d8edd144b341cbde967ccd9db84d6f7 (diff)
downloadgitlab-ce-0ff468160e11270af7178d2494d0d6dabde20a6e.tar.gz
Fixed event.allowed? with event.proper?
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/index.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/index.atom.builder b/app/views/dashboard/index.atom.builder
index ffa15258f07..2bb42a65bac 100644
--- a/app/views/dashboard/index.atom.builder
+++ b/app/views/dashboard/index.atom.builder
@@ -7,7 +7,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
@events.each do |event|
- if event.allowed?
+ if event.proper?
event = EventDecorator.decorate(event)
xml.entry do
event_link = event.feed_url