Send notify after organisation has changed.
This commit is contained in:
parent
dae73e16b8
commit
36c5c5f444
1 changed files with 6 additions and 3 deletions
|
@ -10,6 +10,9 @@ class Organization < ApplicationModel
|
||||||
has_many :members, :class_name => 'User'
|
has_many :members, :class_name => 'User'
|
||||||
validates :name, :presence => true
|
validates :name, :presence => true
|
||||||
|
|
||||||
|
after_create :notify_clients_after_create
|
||||||
|
after_update :notify_clients_after_update
|
||||||
|
|
||||||
activity_stream_support :role => 'Admin'
|
activity_stream_support :role => 'Admin'
|
||||||
history_support
|
history_support
|
||||||
search_index_support
|
search_index_support
|
||||||
|
|
Loading…
Reference in a new issue