can('applications.vote'); } /** * Determine whether the user can update the model. * * @param \App\User $user * @param \App\Vote $vote * @return mixed */ public function update(User $user, Vote $vote) { // } /** * Determine whether the user can delete the model. * * @param \App\User $user * @param \App\Vote $vote * @return mixed */ public function delete(User $user, Vote $vote) { // } /** * Determine whether the user can restore the model. * * @param \App\User $user * @param \App\Vote $vote * @return mixed */ public function restore(User $user, Vote $vote) { // } /** * Determine whether the user can permanently delete the model. * * @param \App\User $user * @param \App\Vote $vote * @return mixed */ public function forceDelete(User $user, Vote $vote) { // } }