Support the ongoing development of Laravel.io →
Authentication Session Forms
Last updated 2 years 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 2 years ago.
0

Thank you. That was exactly that. :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.