cms/app-client/app/helpers/eq.js
author ymh <ymh.work@gmail.com>
Mon, 03 Oct 2016 16:32:41 +0200
changeset 318 5564f5065f81
parent 214 9bff007eb03c
permissions -rw-r--r--
add a root url for corpus back apis. it is set to the same than root api for the moment

import Ember from 'ember';

export function eq(params) {
    return params[0] === params[1];
}

export default Ember.Helper.helper(eq);