11 lines
249 B
CoffeeScript
11 lines
249 B
CoffeeScript
Travis.AccountIndexController = Em.Controller.extend
|
|
needs: ['profile', 'currentUser']
|
|
hooksBinding: 'controllers.profile.hooks'
|
|
userBinding: 'controllers.currentUser'
|
|
|
|
sync: ->
|
|
@get('user').sync()
|
|
|
|
toggle: (hook) ->
|
|
hook.toggle()
|