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.
22 lines
391 B
22 lines
391 B
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Entities\Projects\JobsRepository;
|
|
|
|
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'));
|
|
}
|
|
}
|