fix(admin): redirect root fediverse route to fediverse-blocked-actors

This commit is contained in:
Yassine Doghri 2023-08-30 09:12:30 +00:00
parent d100fe0999
commit ba5324ea19
1 changed files with 4 additions and 2 deletions

View File

@ -10,11 +10,13 @@ declare(strict_types=1);
namespace Modules\Admin\Controllers;
use CodeIgniter\HTTP\RedirectResponse;
class FediverseController extends BaseController
{
public function dashboard(): string
public function dashboard(): RedirectResponse
{
return view('fediverse/dashboard');
return redirect()->route('fediverse-blocked-actors');
}
public function blockedActors(): string