Fixed some 404 errors when using Part-DB without URL rewriting.

Fixed problems with the ajaxUI. Also added an ENV option that RedirectController redirects you to index.php/en page version.
This commit is contained in:
Jan Böhmer 2019-10-03 00:45:02 +02:00
parent 2c34c5f9cb
commit 280b2d4427
5 changed files with 45 additions and 3 deletions

View file

@ -18,7 +18,7 @@
{{ encore_entry_link_tags('app') }}
{% endblock %}
</head>
<body data-base-url="{{ app.request.basePath }}/{{ app.request.locale }}">
<body data-base-url="{{ url('homepage', {'_locale': app.request.locale}) }}">
{% block body %}
<header>