Support the ongoing development of Laravel.io →
posted 8 years ago
Packages

This is not working:

    public function boot(\Illuminate\Routing\Router $router)
    {
        $router->middlewareGroup('backend', array(
                \App\Http\Middleware\EncryptCookies::class,
                \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
                \Illuminate\Session\Middleware\StartSession::class,
                \Krucas\Notification\Middleware\NotificationMiddleware::class,
                \Illuminate\View\Middleware\ShareErrorsFromSession::class,
                \App\Http\Middleware\VerifyCsrfToken::class
            )
        );

I see its part of the array, but i think you need to reload something.

Last updated 3 years ago.
0

You arent getting answers cause your question is too vague.

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

isomis isomis Joined 7 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.