mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[getting started] [ci skip] Just want to get post params
This commit is contained in:
parent
edad287e84
commit
62d3693288
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue