Fix toggling hooks on profile page
This commit is contained in:
parent
66be22af68
commit
385287489c
|
@ -11,6 +11,10 @@ Travis.AccountController = Ember.ObjectController.extend
|
|||
self.reloadHooks()
|
||||
))
|
||||
|
||||
actions:
|
||||
sync: ->
|
||||
@get('user').sync()
|
||||
|
||||
toggle: (hook) ->
|
||||
hook.toggle()
|
||||
|
||||
|
@ -35,8 +39,3 @@ Travis.AccountController = Ember.ObjectController.extend
|
|||
showPublicReposHint: (->
|
||||
Travis.config.show_repos_hint == 'public'
|
||||
) .property()
|
||||
|
||||
actions:
|
||||
sync: ->
|
||||
@get('user').sync()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user