Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1113 | Revision 1118 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1113 Revision 1117
Zeile 73... Zeile 73...
73
    Route::get( '/admin/login', [ BackendController::class, 'create' ] )->name( 'login' );
73
    Route::get( '/admin/login', [ BackendController::class, 'create' ] )->name( 'login' );
74
    Route::post( '/admin/login', [ BackendController::class, 'store' ] );
74
    Route::post( '/admin/login', [ BackendController::class, 'store' ] );
75
    Route::prefix( 'admin' )->middleware( 'auth:admin' )->group( function ()
75
    Route::prefix( 'admin' )->middleware( 'auth:admin' )->group( function ()
76
    {
76
    {
77
        Route::get( '/logout', [ BackendController::class, 'destroy' ] )->name( 'logout' );
77
        Route::get( '/logout', [ BackendController::class, 'destroy' ] )->name( 'logout' );
-
 
78
        Route::prefix( "/toolbox" )->group( function ()
-
 
79
        {
-
 
80
            Route::get( "/", [ ToolboxController::class, "create" ] );
-
 
81
        } );
78
        Route::view( "/index", "admin/index" );
82
        Route::view( "/index", "admin/index" );
79
    } );
83
    } );
80
84