Added default to the RENKAN_USER_DISPLAY_FIELD setting. Will default to the USERFIELD_NAME for the user model
(function(root) {
"use strict";
var Backbone = root.Backbone;
var Router = root.Rkns.Router = Backbone.Router.extend({
routes: {
'': 'index'
},
index: function (parameters) {
var result = {};
if (parameters !== null){
parameters.split("&").forEach(function(part) {
var item = part.split("=");
result[item[0]] = decodeURIComponent(item[1]);
});
}
this.trigger('router', result);
}
});
})(window);