Skip to content

Commit

Permalink
[fr][ja][zh] cakephp#3777
Browse files Browse the repository at this point in the history
  • Loading branch information
okinaka committed Feb 26, 2016
1 parent ba43caf commit 708c03a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fr/views/json-and-xml-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ caractère, soit un tableau de variables de vue à sérialiser::
public $components = array('RequestHandler');

public function index() {
$this->set('posts', $this->paginate());
$this->set('posts', $this->Paginator->paginate());
$this->set('_serialize', array('posts'));
}
}
Expand Down
2 changes: 1 addition & 1 deletion ja/views/json-and-xml-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CakePHP 2.1 には新しい二つのビュークラスがあります。 ``XmlVi
public $components = array('RequestHandler');

public function index() {
$this->set('posts', $this->paginate());
$this->set('posts', $this->Paginator->paginate());
$this->set('_serialize', array('posts'));
}
}
Expand Down
2 changes: 1 addition & 1 deletion zh/views/json-and-xml-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ JSON 和 XML 视图
public $components = array('RequestHandler');

public function index() {
$this->set('posts', $this->paginate());
$this->set('posts', $this->Paginator->paginate());
$this->set('_serialize', array('posts'));
}
}
Expand Down

0 comments on commit 708c03a

Please sign in to comment.