Passed
Push — task/review-page-comment-feed ( 08379e...140bdc )
by Yonathan
12:14 queued 11s
created

JobBuilderController::hrReview()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Support\Facades\Lang;
6
use Illuminate\Support\Facades\Auth;
7
use App\Http\Controllers\Controller;
8
use App\Models\JobPoster;
9
10
class JobBuilderController extends Controller
11
{
12
    /**
13
     * Show the Job Builder mini SPA
14
     * @return \Illuminate\Http\Response
15
     */
16
    public function show()
17
    {
18
        return view(
19
            'manager/job-builder-root'
20
        )->with([
21
            'title' => Lang::get('manager/job_builder.title'),
22
        ]);
23
    }
24
25
    public function hrReview(JobPoster $job)
26
    {
27
        return view('hr_advisor/job_review', [
28
            'title' => Lang::get('hr_advisor/job_review.title'),
29
            'job' => $job
30
        ]);
31
    }
32
}
33