Skip to content
Browse files

Add post route

Outer red: Your Ember app tried to GET '/posts/1', but there was no route defined to handle this request. Define a route that matches this path in your mirage/config.js file. Did you forget to add your namespace?

The next error is in Mirage again: we now get to the post show page, but Mirage isn't configured to retrieve a post by ID.
  • Loading branch information...
CodingItWrong committed Jan 11, 2018
1 parent 99db904 commit f80692951cc9ec6bb0efabbaf9355c4bc040c6f2
Showing with 1 addition and 0 deletions.
  1. +1 −0 mirage/config.js
@@ -1,2 +1,3 @@
export default function() {'/posts');

0 comments on commit f806929

Please sign in to comment.
You can’t perform that action at this time.