Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed error in TasksController#destroy due to missing @list variable

  • Loading branch information...
commit ca907e90e956aeaee8f1c0df2cc92bcee831e9ab 1 parent 0c968f3
@dennisjbell dennisjbell authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/tasks_controller.rb
View
1  app/controllers/tasks_controller.rb
@@ -40,6 +40,7 @@ def update
def destroy
+ @list = List.find(params[:list_id])
@task = Task.find(params[:id])
@task.destroy
Please sign in to comment.
Something went wrong with that request. Please try again.