Skip to content

Commit

Permalink
docs: add a return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez authored Jan 21, 2018
1 parent dc91a6f commit 4531c17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/_partials/pages/index/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ to be installed and filters configured for your model using the search manager.
]);
}
public function index() {
public function index()
{
// Enable the SearchListener
$this->Crud->addListener('search', 'Crud.Search', [
// The search behavior collection to use. Default "default".
Expand Down Expand Up @@ -62,7 +63,7 @@ to be installed and filters configured for your model using the search manager.
]
]);
$this->Crud->execute();
return $this->Crud->execute();
}
}
Expand Down

0 comments on commit 4531c17

Please sign in to comment.