1 | <?php |
||||
2 | |||||
3 | namespace App\Http\Controllers; |
||||
4 | |||||
5 | use App\Http\Controllers\Controller; |
||||
6 | use App\Models\Lookup\Department; |
||||
7 | use Illuminate\Support\Facades\Lang; |
||||
8 | |||||
9 | class FaqController extends Controller |
||||
10 | { |
||||
11 | /** |
||||
12 | * Show the FAQ page. |
||||
13 | * |
||||
14 | * @return View |
||||
15 | */ |
||||
16 | public function __invoke() |
||||
17 | { |
||||
18 | return view( |
||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||
19 | 'applicant/static_faq', |
||||
20 | [ |
||||
21 | 'faq' => Lang::get('applicant/faq'), |
||||
22 | 'breadcrumb_home' => route('home'), |
||||
0 ignored issues
–
show
The function
route was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
23 | 'applicant_sidebar_active' => 'active', |
||||
24 | 'partner_departments' => Department::where('is_partner', true) |
||||
25 | ->orderBy('lft', 'asc') |
||||
26 | ->select('name', 'is_host') |
||||
27 | ->get(), |
||||
28 | ] |
||||
29 | ); |
||||
30 | } |
||||
31 | } |
||||
32 |