cms/app-client/app/helpers/author.js
author ymh <ymh.work@gmail.com>
Tue, 11 Oct 2016 02:49:59 +0200
changeset 326 226d5b17a119
parent 210 08ad36c693b1
permissions -rw-r--r--
- First implementation of filter for languages. - Language is now an array in the document - various corrections linked to the above change - Simplify the IndexDocumet loop

import Ember from 'ember';

export function author(params) {
	if(params[0]) {
		return 'par ' + params[0].join(', ');
	}
	return;
}

export default Ember.Helper.helper(author);