Skip to content

Commit 2eb267e

Browse files
committed
Update README.md, make it consistence with code base
1 parent fd0683c commit 2eb267e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ php artisan make:repository UserRepository --model=User
9090
Update `UserRepository` logic:
9191

9292
```php
93-
namespace App\Repositories;
93+
namespace App\Http\Repositories;
9494

9595
use App\User;
9696
use PPSpaces\Repositories\Model as Repository;
@@ -116,7 +116,7 @@ class UserRepository extends Repository {
116116
Within your `UserController` assume you have a resource controller created. Inject the `UserRepository` to the contoller.
117117

118118
```php
119-
use App\Repositories\UserRepository;
119+
use App\Http\Repositories\UserRepository;
120120

121121
class UserController extends Controller
122122
{

0 commit comments

Comments
 (0)