Skip to content

Commit 90d3962

Browse files
authored
Update README.md
typo I think $department doesn't exists
1 parent 9164556 commit 90d3962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class PostController extends Controller
177177

178178
$post->orderBy('updated_at', 'asc');
179179

180-
$paginator = $department->paginate(10);
180+
$paginator = $post->paginate(10);
181181
$posts = $paginator->getCollection();
182182

183183
// return posts

0 commit comments

Comments
 (0)