diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/engines.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md index 58c6870d4a..8062b9c4ea 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -395,7 +395,7 @@ def create @post = Post.find(params[:post_id]) @comment = @post.comments.create(params[:comment]) flash[:notice] = "Comment has been created!" - redirect_to post_path + redirect_to posts_path end ``` |