Esempio n. 1
0
 /**
  * Display a listing of the resource.
  */
 public function index()
 {
     $projects = $this->project->all();
     return view('frontend.project.index', compact('projects'));
 }
 /**
  * @return mixed
  */
 public function all()
 {
     return $this->project->all();
 }