File tree 3 files changed +3
-6
lines changed
TwigBundle/Resources/views
WebProfilerBundle/Tests/DependencyInjection
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% extends ' TwigBundle::layout.html.twig' %}
2
2
3
3
{% block head %}
4
- <link href =" {{ asset(' bundles/framework/css/exception.css' , absolute=true ) }}" rel =" stylesheet" type =" text/css" media =" all" />
4
+ <link href =" {{ absolute_url( asset(' bundles/framework/css/exception.css' ) ) }}" rel =" stylesheet" type =" text/css" media =" all" />
5
5
{% endblock %}
6
6
7
7
{% block title %}
Original file line number Diff line number Diff line change 4
4
<meta charset =" {{ _charset }}" />
5
5
<meta name =" robots" content =" noindex,nofollow" />
6
6
<title >{% block title %}{% endblock %}</title >
7
- <link href =" {{ asset(' bundles/framework/css/structure.css' , absolute=true ) }}" rel =" stylesheet" />
8
- <link href =" {{ asset(' bundles/framework/css/body.css' , absolute=true ) }}" rel =" stylesheet" />
7
+ <link href =" {{ absolute_url( asset(' bundles/framework/css/structure.css' ) ) }}" rel =" stylesheet" />
8
+ <link href =" {{ absolute_url( asset(' bundles/framework/css/body.css' ) ) }}" rel =" stylesheet" />
9
9
{% block head %}{% endblock %}
10
10
</head >
11
11
<body >
Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ protected function setUp()
52
52
$ this ->container ->addScope (new Scope ('request ' ));
53
53
$ this ->container ->register ('request ' , 'Symfony \\Component \\HttpFoundation \\Request ' )->setScope ('request ' );
54
54
$ this ->container ->register ('router ' , $ this ->getMockClass ('Symfony \\Component \\Routing \\RouterInterface ' ));
55
- $ this ->container ->register ('templating.helper.assets ' , $ this ->getMockClass ('Symfony \\Component \\Templating \\Helper \\AssetsHelper ' ));
56
- $ this ->container ->register ('templating.helper.router ' , $ this ->getMockClass ('Symfony \\Bundle \\FrameworkBundle \\Templating \\Helper \\RouterHelper ' ))
57
- ->addArgument (new Reference ('router ' ));
58
55
$ this ->container ->register ('twig ' , 'Twig_Environment ' );
59
56
$ this ->container ->setParameter ('kernel.bundles ' , array ());
60
57
$ this ->container ->setParameter ('kernel.cache_dir ' , __DIR__ );
You can’t perform that action at this time.
0 commit comments