Commit ba5324ea authored by Yassine Doghri's avatar Yassine Doghri
Browse files

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

parent d100fe09
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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