Manoj Sharma
Manoj Sharma

Reputation: 616

Laravel 5 ElFinder Class replace-this-with-your-middleware does not exist error while browse server

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

Answers (1)

Hakob Hakobyan
Hakob Hakobyan

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
],

image

Upvotes: 5

Related Questions