Hi Marc,
Could it be that there are some brackets missing? Something like this: url: config.api.url + (_.isFunction(model.url) ? model.url() : model.url);
Otherwise, the url-option is set to the model.url (output from the function or the property, and nothing is prepended.
Hi Marc,
Could it be that there are some brackets missing? Something like this:
url: config.api.url + (_.isFunction(model.url) ? model.url() : model.url);
Otherwise, the url-option is set to the model.url (output from the function or the property, and nothing is prepended.