File tree Expand file tree Collapse file tree
user_guide_src/source/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ forcing a redirect to a specific route or URL:
109109
110110.. literalinclude :: errors/010.php
111111
112- ``$route `` may be a named route, relative URI , or a complete URL. You can also supply a
112+ ``$uri `` may be a URI path relative to baseURL , or a complete URL. You can also supply a
113113redirect code to use instead of the default (``302 ``, "temporary redirect"):
114114
115115.. literalinclude :: errors/011.php
Original file line number Diff line number Diff line change 11<?php
22
3- throw new \CodeIgniter \Router \Exceptions \RedirectException ($ route );
3+ throw new \CodeIgniter \Router \Exceptions \RedirectException ($ uri );
Original file line number Diff line number Diff line change 11<?php
22
3- throw new \CodeIgniter \Router \Exceptions \RedirectException ($ route , 301 );
3+ throw new \CodeIgniter \Router \Exceptions \RedirectException ($ uri , 301 );
You can’t perform that action at this time.
0 commit comments