Welcome Guest, Not a member yet? Register   Sign In
Route filter enquiry

(This post was last modified: 05-09-2019, 12:45 AM by scalla.)

Good day all, I'll like to know if the route filter can take multiple filter. 

PHP Code:
$routes->group('admin', ['filter' => 'auth:staff|role:admin,superadmin'], function($routes) {

The "|" separates the two filters.

This is not currently supported. Filters is looking only for the name separated by a colon:

If you'd like to work up a PR for this I'm sure the devs would review it.

Theme © iAndrew 2016 - Forum software by © MyBB