diff options
author | Jeffrey Hardy <packagethief@gmail.com> | 2009-08-27 00:32:57 -0400 |
---|---|---|
committer | Jeffrey Hardy <packagethief@gmail.com> | 2009-08-27 00:32:57 -0400 |
commit | 0a1c7b9df101b1f5921be0e1569c7fd007bd784a (patch) | |
tree | e4b4485daf6be4f2dacfb5968465af75fa1de9f3 /actionpack | |
parent | c5c24732a57936fc32f6aa36bb69dc10ab09de5f (diff) | |
download | rails-0a1c7b9df101b1f5921be0e1569c7fd007bd784a.tar.gz rails-0a1c7b9df101b1f5921be0e1569c7fd007bd784a.tar.bz2 rails-0a1c7b9df101b1f5921be0e1569c7fd007bd784a.zip |
Use a more idiomatic redirect_to example in the flash docs
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/flash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/flash.rb b/actionpack/lib/action_controller/metal/flash.rb index 590f9be3ac..8753253dc6 100644 --- a/actionpack/lib/action_controller/metal/flash.rb +++ b/actionpack/lib/action_controller/metal/flash.rb @@ -8,7 +8,7 @@ module ActionController #:nodoc: # def create # # save post # flash[:notice] = "Successfully created post" - # redirect_to posts_path(@post) + # redirect_to @post # end # # def show |