1
0
Fork 0

use empty object if no options are given

This commit is contained in:
Frank Celler 2013-04-08 16:24:15 +02:00
parent d7443f5caa
commit 16e23e1204
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ _.extend(Application.prototype, {
}, },
registerRepository: function (name, opts) { registerRepository: function (name, opts) {
this.routingInfo.repositories[name] = opts; this.routingInfo.repositories[name] = opts || {};
}, },
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////