Reputation: 169
It directly show @csrf
& @method('PUT')
on the page
You may use the
@method
Blade directive to generate the_method
input:
<form action="/foo/bar" method="POST">
@method('PUT')
</form>
These code does not work.
Upvotes: 0
Views: 184
Reputation: 2588
These directives are coming in Laravel 5.6 as it was mentioned by Laravel News.
As I am writing this answer, Laravel 5.6 have not yet been released.
You can do this to install a fresh version of Laravel 5.6:
composer create-project laravel/laravel your-project-name-here dev-develop
Upvotes: 2