/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // Get all ideas $ideas = Idea::with(['brand', 'industry'])->get(); return view('ideas.index', compact('ideas')); }