mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix example in flash middleware
This commit is contained in:
parent
256e317c39
commit
86b30c4347
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue