pavel-mironchik / laravel-backup-panel

An interface for Spatie Laravel Backup package
MIT License
406 stars 42 forks source link

add middlware custom #35

Closed Oxicode closed 2 years ago

Oxicode commented 2 years ago

please

pavel-mironchik commented 2 years ago

Would you please describe in detail your request?

Oxicode commented 2 years ago

Por supuesto, la idea es poder añadir Middleware personalizados a la ruta del /admin/backup. Yo uso el paquete tenancy, y para que funcione correctamente a los routes le debo añadir:

image

Of course, my idea is add Middleware custom to route of backup panel. For example, my project use Tenancy package, and for work i need add this:

image

Sorry, my english is not good.

pavel-mironchik commented 2 years ago

Please correct me if I'm wrong. It seems that you have to assign a middleware to a route of this package. Well, I could set a name for the single package's route, and then you'll be able to attach your middlewares to it in your service provider.

Oxicode commented 2 years ago

yes please