Permalink
Browse files

Transition to show route

Outer red: The route posts.show was not found

Now the acceptance test successfully attempts to transition to the `posts.show` route, but it doesn't yet exist.
  • Loading branch information...
CodingItWrong committed Jan 11, 2018
1 parent b602019 commit 655a3409e27ea81e12f507cc91c39178ca9c4a94
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/controllers/posts/new.js
@@ -3,6 +3,7 @@ import Controller from '@ember/controller';
export default Controller.extend({
actions: {
savePost() {
this.transitionToRoute('posts.show');
}
}
});

0 comments on commit 655a340

Please sign in to comment.