Skip to content

Commit

Permalink
Fixed error in TasksController#destroy due to missing @list variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Oct 26, 2012
1 parent 0c968f3 commit ca907e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/tasks_controller.rb
Expand Up @@ -40,6 +40,7 @@ def update


def destroy
@list = List.find(params[:list_id])
@task = Task.find(params[:id])
@task.destroy

Expand Down

0 comments on commit ca907e9

Please sign in to comment.