Skip to content
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 db6f6d8 commit 8b2f497e11f1ae7a074b56aeab99d6f94676d0ef
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 8b2f497

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