dimanche 2 juillet 2017

Laraval csrf_field() not working in Package

I am learning about Pakages in Laravl 5.4 and ultimately I will upload them to github.

This is my directory structure :

laravel
-vendor
--student
---myPackage
----src
-----Views
------myView.blade.php

the myView.blade.php has a form in it, and a function call, but when I Inspect the output in the browser, the value attribute of the hidden input <input name="_token" value="" type="hidden"> is empty.

How do I make this work ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire