王肖毅
王肖毅

Reputation: 169

blade seems not work

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

Answers (1)

Prince Lionel N&#39;zi
Prince Lionel N&#39;zi

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

Related Questions