new helpdesk module now with kabann board
This commit is contained in:
@@ -6,14 +6,20 @@ namespace Modules\Helpdesk\Http\Controllers;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
final class HelpdeskController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display the Helpdesk module landing page.
|
||||
* Display the Helpdesk module landing page inside the application shell.
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function __invoke(): View
|
||||
{
|
||||
return view('helpdesk::index');
|
||||
return view('layouts.app', [
|
||||
'title' => __('Helpdesk'),
|
||||
'slot' => new HtmlString(view('helpdesk::index')->render()),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user