@@ -20,10 +20,10 @@ $(function() {
20
20
// Wraps Symfony's annotations
21
21
var annotations = {
22
22
'@Cache' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/cache.html' ,
23
- '@Method ' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing .html#route-method ' ,
23
+ '@IsGranted ' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security .html#isgranted ' ,
24
24
'@ParamConverter' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html' ,
25
- '@Route' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/ routing.html#usage ' ,
26
- '@Security' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html'
25
+ '@Route' : 'https://symfony.com/doc/current/routing.html#creating-routes-as-annotations ' ,
26
+ '@Security' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html#security '
27
27
} ;
28
28
29
29
$controllerCode . find ( '.hljs-doctag' ) . each ( function ( ) {
@@ -42,7 +42,7 @@ $(function() {
42
42
return ;
43
43
}
44
44
45
- var url = 'https://twig.symfony.com/doc/2 .x/tags/' + tag + '.html#' + tag ;
45
+ var url = 'https://twig.symfony.com/doc/3 .x/tags/' + tag + '.html#' + tag ;
46
46
47
47
$ ( this ) . html ( anchor ( url , tag ) ) ;
48
48
} ) ;
@@ -51,7 +51,7 @@ $(function() {
51
51
$templateCode . find ( '.hljs-template-variable > .hljs-name' ) . each ( function ( ) {
52
52
var func = $ ( this ) . text ( ) ;
53
53
54
- var url = 'https://twig.symfony.com/doc/2 .x/functions/' + func + '.html#' + func ;
54
+ var url = 'https://twig.symfony.com/doc/3 .x/functions/' + func + '.html#' + func ;
55
55
56
56
$ ( this ) . html ( anchor ( url , func ) ) ;
57
57
} ) ;
0 commit comments