public function team() { \Cache::flush(); $users = User::all(); $bugs = Bug::all(); return view('team')->with('users', $users)->with('bugs', $bugs); }
public function index() { $bugs = Bug::all(); $users = User::all(); return view('bugs')->with('bugs', $bugs)->with('users', $users); }