mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
23 lines
440 B
PHP
23 lines
440 B
PHP
<?php
|
|
namespace Domain\Homepage\Controllers;
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
use Domain\Settings\Actions\GetConfigAction;
|
|
|
|
class IndexController
|
|
{
|
|
public function __construct(
|
|
public GetConfigAction $getConfig,
|
|
) {
|
|
}
|
|
|
|
/**
|
|
* Show index page
|
|
*/
|
|
public function __invoke(): View
|
|
{
|
|
return view('index')
|
|
->with('config', json_decode(json_encode(($this->getConfig)())));
|
|
}
|
|
}
|