var emall = can.Model.extend({
findAll: "GET/api.php/specialoffers",
findOne: "GET/api/specialoffers/{sid}"
}, {})
can i hear create a model which will have all the api.php like
Var q = '/api.php/',
and then
var emall = can.Model.extend({
findAll: "GET/specialoffers",
findOne: "GET/specialoffers/{sid}"
}, {})
ANd also help me out on how to write the fixture and the control/ component for the same