/** * Display a listing of the resource. * * @return Response */ public function index() { // return view('team.index', array('teams' => Team::paginate(15))); }
/** * Show the team list page. * * @return Response */ public function listTeams() { return view('team.list')->with('teams', Team::paginate(10)); }