Permalink
Browse files

Fix example in flash middleware

  • Loading branch information...
1 parent 256e317 commit 86b30c4347640965a6b3ae6a52c5ca9691a585c0 @avakhov avakhov committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/flash.rb
@@ -17,7 +17,7 @@ def flash
# def create
# # save post
# flash[:notice] = "Post successfully created"
- # redirect_to posts_path(@post)
+ # redirect_to @post
# end
#
# def show

0 comments on commit 86b30c4

Please sign in to comment.