Beispiel #1
0
 public function active($id, Poll $polls)
 {
     $poll = $polls->findOrFail($id);
     return trans('Poll #' . $id . ' is ' . $polls->pollStatus($poll) . ' now');
 }