travis-web/app/helpers/format-commit.coffee
2015-12-08 10:17:32 +01:00

8 lines
247 B
CoffeeScript

`import { safe, formatCommit as formatCommitHelper } from 'travis/utils/helpers'`
helper = Ember.Helper.helper (params) ->
commit = params[0]
safe formatCommitHelper(commit.get('sha'), commit.get('branch')) if commit
`export default helper`