public function destroy($id)
    {
        $note = Note::findOrFail($id);
        $this->authorize('manage', $note);
        $note->delete();
        return fractal($id, new DeletedTransformer())
            ->withResourceName('deletedNote')
            ->respond();
    }