diff options
author | Selem Delul <github@selem.im> | 2012-07-11 06:19:38 +0300 |
---|---|---|
committer | Selem Delul <github@selem.im> | 2012-07-11 06:19:38 +0300 |
commit | 783fc29389336e83341ea24e93a0b02b14c47a49 (patch) | |
tree | ddf337c0262c1f3aa2aa94aa6f715b919081d502 | |
parent | b1dbebcf2d7fef893474ef0757e446a5c127871b (diff) | |
download | rails-783fc29389336e83341ea24e93a0b02b14c47a49.tar.gz rails-783fc29389336e83341ea24e93a0b02b14c47a49.tar.bz2 rails-783fc29389336e83341ea24e93a0b02b14c47a49.zip |
Fix code comment to reflect its intent.
-rw-r--r-- | actionpack/lib/action_controller/metal/responder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/responder.rb b/actionpack/lib/action_controller/metal/responder.rb index 83407846dc..d9c89a74f1 100644 --- a/actionpack/lib/action_controller/metal/responder.rb +++ b/actionpack/lib/action_controller/metal/responder.rb @@ -90,7 +90,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, :status => 201) # end |