summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-24 14:24:22 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-24 14:24:22 -0300
commit39a51f9e1c8b42a5307b3d6bf74ca23712443695 (patch)
treefea8d986ba875b2a934d782a5995afedb4c94f6e /app/views/events
parent239560331ab5ef635a8739f5b2b85d0bcd531256 (diff)
downloadgitlab-ce-39a51f9e1c8b42a5307b3d6bf74ca23712443695.tar.gz
Rename `Event#proper?` to `Event#visible_to_user?`
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/_event.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 2d9d9dd6342..42c2764e7e2 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,4 +1,4 @@
-- if event.proper?(current_user)
+- if event.visible_to_user?(current_user)
.event-item{class: "#{event.body? ? "event-block" : "event-inline" }"}
.event-item-timestamp
#{time_ago_with_tooltip(event.created_at)}