Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix example in flash middleware

  • Loading branch information...
commit 86b30c4347640965a6b3ae6a52c5ca9691a585c0 1 parent 256e317
Alexey Vakhov avakhov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/middleware/flash.rb
2  actionpack/lib/action_dispatch/middleware/flash.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.