pagination fix

This commit is contained in:
2013-10-11 02:28:56 +02:00
parent a8dff44a36
commit 11141270e5
2 changed files with 10 additions and 1 deletions

9
app/views/pagination.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
$presenter = new Illuminate\Pagination\BootstrapPresenter($paginator);
?>
<?php if ($paginator->getLastPage() > 1): ?>
<ul class="pagination">
<?php echo $presenter->render(); ?>
</ul>
<?php endif; ?>