Method: TasksController#clear_errors

Defined in:
app/controllers/tasks_controller.rb

#clear_errorsObject



31
32
33
34
# File 'app/controllers/tasks_controller.rb', line 31

def clear_errors
  Task.error.destroy
  head :ok
end