Skip to content

Commit

Permalink
Merge pull request teamtnt#272 from tonoslav/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
nticaric authored May 25, 2020
2 parents a13b7cf + 90d3962 commit ce1f911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class PostController extends Controller

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

$paginator = $department->paginate(10);
$paginator = $post->paginate(10);
$posts = $paginator->getCollection();

// return posts
Expand Down

0 comments on commit ce1f911

Please sign in to comment.