diff --git a/app/gist/edit/route.js b/app/gist/edit/route.js index c1714fc6..a736fa62 100644 --- a/app/gist/edit/route.js +++ b/app/gist/edit/route.js @@ -11,7 +11,7 @@ export default GistRoute.extend({ error(error) { if (error && error.errors && error.errors.length > 0) { let error1 = error.errors[0]; - if (error1.status === 404) { + if (error1.status === "404") { alert('The gist is missing or secret.'); return this.transitionTo('gist.new'); }