Support the ongoing development of Laravel.io →
Authentication Session Forms
Last updated 1 year ago.
0

Your array is not formatted correctly:

$this->beforeFilter('auth.colaboradores', array('except' => 'getIndex','postIndex'));
Array
(
    [except] => getIndex
    [0] => postIndex
)

The following will work:

$this->beforeFilter('auth.colaboradores', array('except' => array('getIndex','postIndex')));
Array
(
    [except] => Array
        (
            [0] => getIndex
            [1] => postIndex
        )

)
Last updated 1 year ago.
0
Solution

Thank you. That was exactly that. :)

Last updated 1 year ago.
0

Sign in to participate in this thread!

JetBrains

Your banner here too?

sytker sytker Joined 29 Apr 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.

© 2023 Laravel.io - All rights reserved.