More deprecations to allow us to work on future versions of Ember

This commit is contained in:
Robin Ward
2014-10-07 16:03:51 -04:00
parent 0ab9a0867a
commit 11b52d1334
5 changed files with 24 additions and 21 deletions

View File

@ -15,6 +15,10 @@ function response(code, obj) {
return [code, {"Content-Type": "application/json"}, obj];
}
function success() {
return response();
}
export default function() {
var server = new Pretender(function() {
@ -77,6 +81,9 @@ export default function() {
this.get('/login.html', function() {
return [200, {}, 'LOGIN PAGE'];
});
this.delete('/posts/:post_id', success);
this.put('/posts/:post_id/recover', success);
});