File tree 3 files changed +3
-3
lines changed
user_guide_src/source/general
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ forcing a redirect to a specific route or URL:
109
109
110
110
.. literalinclude :: errors/010.php
111
111
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
113
113
redirect code to use instead of the default (``302 ``, "temporary redirect"):
114
114
115
115
.. literalinclude :: errors/011.php
Original file line number Diff line number Diff line change 1
1
<?php
2
2
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 1
1
<?php
2
2
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