mercredi 17 octobre 2018

Get current URL inside custom button

I have a custom button uploadImages.blade.php:

@if ($crud->hasAccess('update'))
    <a href="/images" class="btn btn-xs btn-default"><i class="fa fa-edit"></i> </a>
@endif

My current url as shown in the browser is http://mydomain.eu/backpack/public/folder

However, (as called from inside the custom view) produces http://mydomain.eu/backpack/public/folder/search.

I have absolutely no idea where that search comes from.

In fact, when I use anywhere else in my code, it produces the right url, but not inside my custom button view.

Any ideas?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire