Skip to content

Commit

Permalink
Removed unessesary !!
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Jun 8, 2016
1 parent 28ee32c commit e9344f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ So, once you have retrieved the results, you may display the results and render
@endforeach
</div>

{!! $users->links() !!}
{{ $users->links() }}

The `links` method will render the links to the rest of the pages in the result set. Each of these links will already contain the proper `?page` query string variable. Remember, the HTML generated by the `links` method is compatible with the [Bootstrap CSS framework](https://getbootstrap.com).

Expand All @@ -112,11 +112,11 @@ The `setPath` method allows you to customize the URI used by the paginator when

You may add to the query string of pagination links using the `appends` method. For example, to append `&sort=votes` to each pagination link, you should make the following call to `appends`:

{!! $users->appends(['sort' => 'votes'])->links() !!}
{{ $users->appends(['sort' => 'votes'])->links() }}

If you wish to append a "hash fragment" to the paginator's URLs, you may use the `fragment` method. For example, to append `#foo` to the end of each pagination link, make the following call to the `fragment` method:

{!! $users->fragment('foo')->links() !!}
{{ $users->fragment('foo')->links() }}

#### Additional Helper Methods

Expand Down

0 comments on commit e9344f6

Please sign in to comment.