Refresh user's authorized projects when one of his memberships are updated

This commit is contained in:
Ahmad Sherif 2016-11-21 19:21:14 +02:00
parent 74650b280b
commit 229b7e9a8e
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class Member < ActiveRecord::Base
end
def post_update_hook
# override in subclass
UserProjectAccessChangedService.new(user.id).execute if access_level_changed?
end
def post_destroy_hook