Skip to content

Commit

Permalink
Remove blank lines in pagination.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
armgabrielyan authored Dec 8, 2017
1 parent c570d98 commit cd2a710
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions en/controllers/components/pagination.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ that the ``order`` key must be defined in an array structure like below::

class ArticlesController extends AppController
{

public $paginate = [
'limit' => 25,
'order' => [
Expand All @@ -52,7 +51,6 @@ You can also include any of the options supported by

class ArticlesController extends AppController
{

public $paginate = [
'fields' => ['Articles.id', 'Articles.created'],
'limit' => 25,
Expand All @@ -75,7 +73,6 @@ setting the ``finder`` option::

class ArticlesController extends AppController
{

public $paginate = [
'finder' => 'published',
];
Expand All @@ -86,7 +83,6 @@ options into a custom finder method within the paginate property::

class ArticlesController extends AppController
{

// find articles by tag
public function tags()
{
Expand Down Expand Up @@ -115,7 +111,6 @@ array after the model you wish to configure::

class ArticlesController extends AppController
{

public $paginate = [
'Articles' => [],
'Authors' => [],
Expand All @@ -135,7 +130,6 @@ example of using ``paginate()`` would be::

class ArticlesController extends AppController
{

public function index()
{
$this->set('articles', $this->paginate());
Expand Down

0 comments on commit cd2a710

Please sign in to comment.