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 b829929 commit 40622c368543d30dec179c44962e894c7ba1feb1
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 40622c3

Please sign in to comment.