diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-12 11:00:16 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-12 11:00:16 -0700 |
commit | c5c448221f74539142ddeeee2d64d39cf8b4812c (patch) | |
tree | aa395565284e721882c609c3805f369475b07833 /railties/guides/source | |
parent | acc6252cb0250df8d5554fee94b0aa6dc87b32e7 (diff) | |
parent | 6e782f8944122e99091b38b07dcc777f02b1836c (diff) | |
download | rails-c5c448221f74539142ddeeee2d64d39cf8b4812c.tar.gz rails-c5c448221f74539142ddeeee2d64d39cf8b4812c.tar.bz2 rails-c5c448221f74539142ddeeee2d64d39cf8b4812c.zip |
Merge pull request #67 from alanzeino/master
'Getting Started' guide typo fix
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/getting_started.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index ae9a689678..37aabcda83 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1083,8 +1083,8 @@ def destroy @post.destroy respond_to do |format| - format.html { redirect_to(posts_url) } - format.json { render :json => {}, :status => :ok } + format.html { redirect_to posts_url } + format.json { head :ok } end end </ruby> |