Skip to content
This repository
Browse code

Fix example in flash middleware

  • Loading branch information...
commit 86b30c4347640965a6b3ae6a52c5ca9691a585c0 1 parent 256e317
Alexey Vakhov authored April 17, 2012
2  actionpack/lib/action_dispatch/middleware/flash.rb
@@ -17,7 +17,7 @@ def flash
17 17
   #     def create
18 18
   #       # save post
19 19
   #       flash[:notice] = "Post successfully created"
20  
-  #       redirect_to posts_path(@post)
  20
+  #       redirect_to @post
21 21
   #     end
22 22
   #
23 23
   #     def show

0 notes on commit 86b30c4

Please sign in to comment.
Something went wrong with that request. Please try again.