pingpong-labs / admin

Laravel 5 Admin
https://packagist.org/packages/pingpong/admin
BSD 3-Clause "New" or "Revised" License
432 stars 114 forks source link

I need to override users routes. Is there possible? #69

Closed Soufraz closed 8 years ago

Soufraz commented 8 years ago

I need do a verification with users based on my business rules. But the route admin/users/create actually is in the admin package of pingpong. And I need point the route to another controller. Or edit (something as a publish) routes or controller of the admin package. What is the best way to do this in the pingpong admin package.

marcoaacoliveira commented 8 years ago

We solved that just adding the "App\Providers\RouteServiceProvider::class" below the 'Pingpong\Admin\Providers\SupportServiceProvider' in config/app.php in the providers array.