mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 01:56:33 +02:00
Oops, fixed current uri for AJAX
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<script type="text/javascript">
|
||||
window.GravAdmin = window.GravAdmin || {};
|
||||
window.GravAdmin.config = {
|
||||
current_url: '{{ uri.getCurrentRoute().withExtension('').withoutParams().toString() }}',
|
||||
current_url: '{{ uri.getCurrentRoute().withExtension('').withoutParams().toString(true) }}',
|
||||
base_url_relative: '{{ base_url_relative }}',
|
||||
base_url_simple: '{{ base_url_simple }}',
|
||||
route: '{{ admin.route|trim('/') }}',
|
||||
|
||||
Reference in New Issue
Block a user