travis-web/assets/scripts/app/controllers/account_index.coffee
2013-03-05 03:37:47 +01:00

8 lines
210 B
CoffeeScript

Travis.AccountIndexController = Em.Controller.extend
needs: ['profile', 'currentUser']
hooksBinding: 'controllers.profile.hooks'
userBinding: 'controllers.currentUser'
sync: ->
@get('user').sync()