Ejemplo n.º 1
0
 public function index()
 {
     $title = 'Bedrijven';
     $companies = Company::paginate(30);
     return view('admin.company.index', compact('title', 'companies'));
 }
 /**
  * @return $this
  */
 public function newCompanies()
 {
     // to complete
     return view('adminpanel.companies.index')->with(['companies' => Company::paginate(4), 'title' => 'New Companies (not completed)', 'about' => 'This page display new companies for this week.']);
 }