Open priMo-ex3m opened 6 years ago
*Using Laravel 5.6
Route::prefix('manage')->middleware('role:superadministrator|administrator')->group(['laroute' => false],function () { Route::get('/', 'ManageController@index'); Route::get('/dashboard', 'ManageController@dashboard')->name('manage.dashboard'); });
and anyway, on console, using laroute.route('manage.dashboard')
gives me "/manage/dashboard"
Also, if I change in config the filter
value to only
, and in routes above change laroute
to true, in generated laroute.js
file, the routes
array is empty.
The filter method of
laroute => false
is not working. I triple-checked. I have setted in configs'filter' => 'all'
property, and at route groups / single routes I give an array with"laroute" => false
, generate a new javascript, but anyway...it includes even routes with"laroute => false"
value...