mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix AC responder example
This commit is contained in:
parent
ecb4a649c2
commit
e39b9b0468
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module ActionController #:nodoc:
|
||||||
#
|
#
|
||||||
# def create
|
# def create
|
||||||
# @project = Project.find(params[:project_id])
|
# @project = Project.find(params[:project_id])
|
||||||
# @task = @project.comments.build(params[:task])
|
# @task = @project.tasks.build(params[:task])
|
||||||
# flash[:notice] = 'Task was successfully created.' if @task.save
|
# flash[:notice] = 'Task was successfully created.' if @task.save
|
||||||
# respond_with(@project, @task)
|
# respond_with(@project, @task)
|
||||||
# end
|
# end
|
||||||
|
|
Loading…
Reference in a new issue