I have form like this
<form action="{{ Request::root() }}/articles/update/" method="post">
<input type="hidden" name="id" value="{{ $article->id }}" />
<input type="submit" name="submit" value="Submit" />
</form>
And route like this
Route::post('articles/update', array('as' => 'articleUpdate', 'uses' => 'ArticlesController@update'));
But when I submit the form, I get MethodNotAllowedHttpException
. In error report I can see that request method is GET. I have also tried using caps for method method="POST"
but it didn't work.
Any ideas?