title: Laravel 5.5 - Missing required parameters for [Route:]
body: <p>What I'm trying to achieve is very simple, but I'm just making this a lot harder than it needs to be. So am seeking help for what is apparently, my lack of Laravel experience.</p>
  
  <p>All I want to do is have a form that can update database entries via a text input. This has to be dynamic as it's being used for a few databases and I don't want to have multiple files for them.</p>
  
  <p>Sorry in advance for the probable messy/crap code...</p>
  
  <p>Here's the routes I have:</p>
  
  <pre><code>Route::get('/server/{server}/players/{playerID}/greeting', 'PlayerProfileController@greeting');
  Route::post('/server/{server}/players/{playerID}/greeting', 'PlayerProfileController@updateGreeting')-&gt;name('greeting.update');
  </code></pre>
  
  <p>The PlayerProfileController</p>
  
  <pre><code>  // Display greeting message
    public function greeting($server, $playerID) {
      $greetInfo = DB::connection($server)
      -&gt;table('clients')
      -&gt;where('id', $playerID)
      -&gt;first();
  
      return view('servers.greeting')
      -&gt;with('greetInfo', $greetInfo);
    }
  
    // Update greeting message
    public function updateGreeting(Request $request, $server, $playerID) {
        $gUpdate = DB::connection($server)
          -&gt;table('clients')
          -&gt;where('id', $playerID)
          -&gt;update(['greeting' =&gt; $request-&gt;input('greet')]);
  
        return back()-&gt;with('success', 'Greeting updated successfully!');
    }
  </code></pre>
  
  <p>And finally the form</p>
  
  <pre><code>{{ Form::open(['action' =&gt; ['PlayerProfileController@updateGreeting', $greetInfo-&gt;greeting],  'method' =&gt; 'POST']) }}
    {{ Form::bsText('greet', '', ['placeholder' =&gt; 'Update greeting or leave blank to remove current message']) }}
    {{ Form::hidden('_method', 'PUT') }}
    &lt;br&gt;
    {{ Form::bsSubmit('Update',['class' =&gt; 'btn btn-outline-secondary']) }}
  {!! Form::close() !!}
  </code></pre>
  
  <p>Any and all help is appreciated. Thank you in advace.</p>