travis-web/assets/scripts/app/views/hooks.coffee
2015-02-02 15:55:43 +01:00

13 lines
270 B
CoffeeScript

BasicView = Travis.BasicView
githubAdminUrl = Travis.Urls.githubAdmin
View = BasicView.extend
templateName: 'profile/tabs/hooks'
userBinding: 'controller.user'
urlGithubAdmin: (->
githubAdminUrl(@get('hook.slug'))
).property('hook.slug')
HooksView = View