Browse Source

Map API routes before Web routes

Bryce Adams 8 years ago
parent
commit
78f4e85f74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Providers/RouteServiceProvider.php

+ 2 - 2
app/Providers/RouteServiceProvider.php

@@ -35,10 +35,10 @@ class RouteServiceProvider extends ServiceProvider
      */
     public function map()
     {
-        $this->mapWebRoutes();
-
         $this->mapApiRoutes();
 
+        $this->mapWebRoutes();
+
         //
     }