Reputation: 616
I have configured elfinder in Laravel 5 and also using CKEditor. Everything was fine till until I click on browse server button and then I got "Class replace-this-with-your-middleware does not exist
" error.
I have searched the web but I did not find any suitable answer. What can I try next?
Upvotes: 0
Views: 1379
Reputation: 1131
You should write your middleware name in elfinder configs.
for example:
'route' => [
'prefix' => 'elfinder',
'middleware' => 'auth'/*replace-this-with-your-middleware*/, //Set to null to disable middleware filter
],
Upvotes: 5