Skip to content

Commit 64cfb3e

Browse files
committed
Fix links
1 parent d5b08ff commit 64cfb3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/en/middleware.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ add other ``Authorization\Exception\Exception`` based exceptions to the
226226

227227
'exceptions' => [
228228
MissingIdentityException::class,
229-
ForbiddenException::class
229+
ForbiddenException::class,
230230
],
231231

232-
See the `RedirectHandler source <https://github.com/cakephp/authorization/blob/2.next/src/Middleware/UnauthorizedHandler/RedirectHandler.php>`__
232+
See the `RedirectHandler source <https://github.com/cakephp/authorization/blob/3.x/src/Middleware/UnauthorizedHandler/RedirectHandler.php>`__
233233

234234
Configuration options are passed to the handler's ``handle()`` method as the
235235
last parameter.
@@ -279,7 +279,7 @@ How to create a custom UnauthorizedHandler
279279
'queryParam' => 'redirectUrl',
280280
'exceptions' => [
281281
MissingIdentityException::class,
282-
ForbiddenException::class
282+
ForbiddenException::class,
283283
],
284284
'custom_param' => true,
285285
],
@@ -291,5 +291,5 @@ This is, because we extend our handler based on the RedirectHandler present in t
291291

292292
The ``custom_param`` appears in the ``$options`` array given to you in the ``handle()`` function inside your ``CustomRedirectHandler`` if you wish to add some more config parameters to your functionality.
293293

294-
You can look at `CakeRedirectHandler <https://github.com/cakephp/authorization/blob/2.next/src/Middleware/UnauthorizedHandler/CakeRedirectHandler.php>`__ or `RedirectHandler <https://github.com/cakephp/authorization/blob/2.next/src/Middleware/UnauthorizedHandler/RedirectHandler.php>`__
294+
You can look at `CakeRedirectHandler <https://github.com/cakephp/authorization/blob/3.x/src/Middleware/UnauthorizedHandler/CakeRedirectHandler.php>`__ or `RedirectHandler <https://github.com/cakephp/authorization/blob/3.x/src/Middleware/UnauthorizedHandler/RedirectHandler.php>`__
295295
how such a Handler can/should look like.

0 commit comments

Comments
 (0)