travis-web/app/views/hooks.js
2016-01-04 13:15:14 +01:00

12 lines
330 B
JavaScript

import BasicView from 'travis/views/basic';
import { githubAdmin as githubAdminUrl } from 'travis/utils/urls';
export default BasicView.extend({
templateName: 'profile/tabs/hooks',
userBinding: 'controller.user',
urlGithubAdmin: function() {
return githubAdminUrl(this.get('hook.slug'));
}.property('hook.slug')
});