jeudi 21 avril 2016

adding data to @include throws an error

My head is aching as to what is the error in my code.

main.blade.php

Html with angular codes here....
@include('modal-template-common', ['link' => route('client.logout')]

modal-template-common.blade.php

{!! Html::link($link, 'OK', ('class'=>'btn btn-danger')) !!}

Now the problems is whenever I try to render it returns an error of

ErrorException in UrlGenerator.php line 273

angular.js:11607 Error: [$compile:tpload]

any enlightenment would greatly help me.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire