Permalink
Browse files

Fix AC responder example

  • Loading branch information...
1 parent ecb4a64 commit e39b9b04689dc866472e318ad9dba580bb2bf36f @avakhov avakhov committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/responder.rb
@@ -63,7 +63,7 @@ module ActionController #:nodoc:
#
# def create
# @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
# respond_with(@project, @task)
# end

0 comments on commit e39b9b0

Please sign in to comment.