Skip to content

Commit 9ab2a11

Browse files
authored
Merge pull request #1323 from bvrignaud/develop
Fix doc error : show_404() doesn't exist any more
2 parents 10aabdc + 7a6ee1e commit 9ab2a11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Example::
189189
{
190190
return $this->$method(...$params);
191191
}
192-
show_404();
192+
throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound();
193193
}
194194

195195
Private methods

0 commit comments

Comments
 (0)