Is there a way to specify the base url for can.Model?
I see the server path being hard coded this way:
Wine = can.Model({
findAll : 'GET //localhost/Cellar-CanJS-Bootstrapped/api/wines',
findOne : 'GET //localhost/Cellar-CanJS-Bootstrapped/api/wines/{id}',
create : 'POST //localhost/Cellar-CanJS-Bootstrapped/api/wines',
update : 'PUT //localhost/Cellar-CanJS-Bootstrapped/api/wines/{id}',
destroy : 'DELETE //localhost/Cellar-CanJS-Bootstrapped/api/wines/{id}'
},{
})
What I'm looking for is a way specify the base url for the Model so that I can continue to configure my can.Model is the standard way.