diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2012-03-17 20:40:29 -0600 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2012-03-17 20:40:29 -0600 |
commit | 62d3693288870058f6b963a014ae692f52e805cb (patch) | |
tree | 78b46c3bb0639d4df21bb589dd2dec89402b4cb6 | |
parent | edad287e84812b4629f08de88921832e76119bb9 (diff) | |
download | rails-62d3693288870058f6b963a014ae692f52e805cb.tar.gz rails-62d3693288870058f6b963a014ae692f52e805cb.tar.bz2 rails-62d3693288870058f6b963a014ae692f52e805cb.zip |
[getting started] [ci skip] Just want to get post params
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 8196a67d35..7b457afb23 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -371,7 +371,7 @@ When a form is submitted, the fields of the form are sent to Rails as _parameter <ruby> def create - render :text => params.inspect + render :text => params[:post].inspect end </ruby> |