Refactor strains/new
This commit is contained in:
parent
29c507af6b
commit
fa5b741e35
11 changed files with 45 additions and 60 deletions
app/mirage
|
@ -36,7 +36,7 @@ export function testConfig() {
|
|||
return {
|
||||
strain: db.strains.find(request.params.id),
|
||||
species: db.species, // Just send back everything we've got
|
||||
}
|
||||
};
|
||||
});
|
||||
this.put('/strains/:id');
|
||||
}
|
||||
|
|
Reference in a new issue