Merge branch 'master' into fix-messages-for-deleted-things
This commit is contained in:
commit
93bc1ff108
20 changed files with 103 additions and 114 deletions
|
@ -58,6 +58,10 @@ class Event < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
def target_title
|
||||
target.try :title
|
||||
end
|
||||
|
||||
def push?
|
||||
action == self.class::Pushed && valid_push?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue