Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. //File: app\Providers\RouterServiceProvider.php
  2. // Removing prefix line | removendo a linha de prefixo
  3.  
  4. //Mudar | Change
  5. protected function mapApiRoutes()
  6. {
  7. Route::prefix('api')
  8. ->middleware('api')
  9. ->namespace($this->namespace)
  10. ->group(base_path('routes/api.php'));
  11. }
  12.  
  13. // para | to
  14. protected function mapApiRoutes()
  15. {
  16. Route::middleware('api')
  17. ->namespace($this->namespace)
  18. ->group(base_path('routes/api.php'));
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement