Just so you know for future reference, you can do the following:
<form action="/comments" method="POST">
{{ csrf_field() }}
Name::
<input type="text" name="name" /><br />
Comments:<br />
<textarea name="text"></textarea>
<!--<input type="hidden" name="_method" value="PUT">-->
<br />
<input type="submit" value="Pievienot"/>
</form>
It's a little bit less code and a little simpler imo.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community