@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | protected function mapApiRoutes() |
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | - ->middleware('api') |
|
| 70 | - ->namespace($this->namespace) |
|
| 71 | - ->group(base_path('routes/api.php')); |
|
| 69 | + ->middleware('api') |
|
| 70 | + ->namespace($this->namespace) |
|
| 71 | + ->group(base_path('routes/api.php')); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function register() |
| 25 | 25 | { |
| 26 | - $this->app->bind('API\Repositories\Contracts\AuthenticateRepositoryInterface','API\Repositories\AuthenticateRepository'); |
|
| 27 | - $this->app->bind('API\Repositories\Contracts\UserRepositoryInterface','API\Repositories\UserRepository'); |
|
| 28 | - $this->app->bind('API\Repositories\Contracts\WorkoutPlanRepositoryInterface','API\Repositories\WorkoutPlanRepository'); |
|
| 29 | - $this->app->bind('API\Repositories\Contracts\WorkoutTypeRepositoryInterface','API\Repositories\WorkoutTypeRepository'); |
|
| 26 | + $this->app->bind('API\Repositories\Contracts\AuthenticateRepositoryInterface', 'API\Repositories\AuthenticateRepository'); |
|
| 27 | + $this->app->bind('API\Repositories\Contracts\UserRepositoryInterface', 'API\Repositories\UserRepository'); |
|
| 28 | + $this->app->bind('API\Repositories\Contracts\WorkoutPlanRepositoryInterface', 'API\Repositories\WorkoutPlanRepository'); |
|
| 29 | + $this->app->bind('API\Repositories\Contracts\WorkoutTypeRepositoryInterface', 'API\Repositories\WorkoutTypeRepository'); |
|
| 30 | 30 | |
| 31 | 31 | } |
| 32 | 32 | } |