Fix key observer

This commit is contained in:
Dmitriy Zaporozhets 2013-06-25 12:02:10 +03:00
parent d41940d36e
commit d40e6bc228

View file

@ -1,5 +1,5 @@
class KeyObserver < BaseObserver class KeyObserver < BaseObserver
def after_save(key) def after_create(key)
GitlabShellWorker.perform_async( GitlabShellWorker.perform_async(
:add_key, :add_key,
key.shell_id, key.shell_id,