diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-24 20:24:22 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-24 20:24:22 +0300 |
commit | 39a51f9e1c8b42a5307b3d6bf74ca23712443695 (patch) | |
tree | fea8d986ba875b2a934d782a5995afedb4c94f6e /app/models/event.rb | |
parent | 239560331ab5ef635a8739f5b2b85d0bcd531256 (diff) |
Rename `Event#proper?` to `Event#visible_to_user?`
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 2b963d4f2f6..12183524b79 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -73,7 +73,7 @@ class Event < ActiveRecord::Base end end - def proper?(user = nil) + def visible_to_user?(user = nil) if push? true elsif membership_changed? |