From 62d3693288870058f6b963a014ae692f52e805cb Mon Sep 17 00:00:00 2001
From: Ryan Bigg <radarlistener@gmail.com>
Date: Sat, 17 Mar 2012 20:40:29 -0600
Subject: [getting started] [ci skip] Just want to get post params

---
 guides/source/getting_started.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'guides/source/getting_started.textile')

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>
 
-- 
cgit v1.2.3

