You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
465 B

<?php
namespace App\Http\Controllers;
use App\Entities\Projects\JobsRepository;
/**
* Jobs Controller
*
* @author Nafies Luthfi <nafiesl@gmail.com>
*/
class JobsController extends Controller
{
private $repo;
public function __construct(JobsRepository $repo)
{
$this->repo = $repo;
}
public function index()
{
$jobs = $this->repo->getUnfinishedJobs();
return view('jobs.unfinished', compact('jobs'));
}
}