Пример #1
0
 public function getList()
 {
     $votes = Vote::orderBy('updated_at', 'desc')->get();
     return view('vote.list', ['title' => '投票列表', 'votes' => $votes]);
 }