diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2012-04-17 15:01:41 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2012-04-17 15:01:41 +0400 |
commit | 86b30c4347640965a6b3ae6a52c5ca9691a585c0 (patch) | |
tree | 7e29fd85b9379a81139812858cfb535211cc6187 /actionpack/lib/action_dispatch/middleware | |
parent | 256e317c390ef6f8ce9e033e2440a5665ef9d898 (diff) | |
download | rails-86b30c4347640965a6b3ae6a52c5ca9691a585c0.tar.gz rails-86b30c4347640965a6b3ae6a52c5ca9691a585c0.tar.bz2 rails-86b30c4347640965a6b3ae6a52c5ca9691a585c0.zip |
Fix example in flash middleware
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/flash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb index cff0877030..c92c91df65 100644 --- a/actionpack/lib/action_dispatch/middleware/flash.rb +++ b/actionpack/lib/action_dispatch/middleware/flash.rb @@ -17,7 +17,7 @@ module ActionDispatch # def create # # save post # flash[:notice] = "Post successfully created" - # redirect_to posts_path(@post) + # redirect_to @post # end # # def show |