opnform/app/Http/Controllers/SpaController.php

19 lines
352 B
PHP
Raw Normal View History

2022-09-20 19:59:52 +00:00
<?php
namespace App\Http\Controllers;
use App\Service\SeoMetaResolver;
use Illuminate\Http\Request;
2022-09-20 19:59:52 +00:00
class SpaController extends Controller
{
/**
* Get the SPA view.
*/
public function __invoke(Request $request)
2022-09-20 19:59:52 +00:00
{
return view('spa',[
'meta' => (new SeoMetaResolver($request))->getMetas(),
]);
2022-09-20 19:59:52 +00:00
}
}