I have delcared my resource in routes.php:
Route::resource('user', 'UserController');
Now I want to use the link to my html-form:
<form action="{{ URL::route('user') }}" method="post">
<input type="text" name="username" placeholder="username" /><br />
<input type="text" name="password" placeholder="password" /><br />
<input type="text" name="uuid" placeholder="uuid" /><br /><br />
<input name="_type" type="hidden" value="login" />
<input type="submit" value="submit" />
</form>
But Laravel is throwing an exception:
production.ERROR: exception 'InvalidArgumentException' with message 'Route [user] not defined.