Home Reference Source Repository

js/templates/helpers/role.js

define(['auth'], function(Auth) {

    return function(value, options) {
        return Auth.has_role(value);
    };

});