Missing route parameters - no parameters are specified
Hi,
I've just begun a really basic ticket creating form and have barely started but I don't seem to even be able to get the basic routing to work! I'm doing something really obvious wrong but I can't see it.
Error message:
Missing required parameters for [Route: createTicket] [URI: createTicket]. (View: /home/vagrant/Code/counselling-list/resources/views/support/home.blade.php)
HTML:
<h2>New Ticket</h2>
<form method="Post" action="{{ route('createTicket') }}">
{{ csrf_field() }}
What is your question?<br>
<textarea id="query" name="query" cols="100" rows="2"></textarea><br>
<button id="submit" type="submit">Create Ticket</button>
</form>
/**
* Storing a new ticket.
*
* @param \Illuminate\Http\Request
*/
public function store(CreateProfileFormRequest $request )
{
return route('dashboard');
}