improved activity ui
This commit is contained in:
parent
c94159ab08
commit
375ebcabfd
3 changed files with 38 additions and 30 deletions
|
@ -21,6 +21,11 @@ class Event < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
# For now only push events enabled for system
|
||||
def allowed?
|
||||
push?
|
||||
end
|
||||
|
||||
def push?
|
||||
action == self.class::Pushed
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue