/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //$questions = \App\Question::latest()->paginate(50);
     $questions = \App\Question::unsolved();
     $bars = \App\Question::unsolvedbar();
     $links = str_replace('/?', '?', $questions->render());
     return view('questions.index', compact('questions', 'bars', 'links'));
 }