app/Http/Controllers/QuestionController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $clubs = Clubs::all();
        return view('questions.club-questions',['clubs'=>$clubs]);
    }
public function index ( ) { $ clubs = Clubs :: all ( ) ; return view ( 'questions.club-questions' , [ 'clubs' => $ clubs ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
//