title: Laravel error: Missing required parameters for route
body: <p>I keep getting this error </p>
  
  <pre><code>ErrorException in UrlGenerationException.php line 17:
  </code></pre>
  
  <p>When ever any page loads and I'm logged in.</p>
  
  <p>Here is what my nav looks like</p>
  
  <pre><code>@if(Auth::guest())
                  &lt;li&gt;&lt;a href="{{ url('/login') }}"&gt;Log In&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="{{ url('/register') }}"&gt;Sign Up&lt;/a&gt;&lt;/li&gt;
              @else
                  &lt;li class="dropdown"&gt;
                      &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;{{ Auth::user()-&gt;nickname }}&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                      &lt;ul class="dropdown-menu"&gt;
                          &lt;li&gt;&lt;a href="{{ route('user.profile') }}"&gt;Profile&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="{{ route('user.settings') }}"&gt;Settings&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="{{ url('/logout') }}"&gt;Log Out&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
              @endif
  </code></pre>
  
  <p>The problem I'm having is that the {{ route('user.profile') }} is not working??</p>
  
  <p>When i hit the link is www.mydomain.com/User/SCRATK/profile is works fine but the page wont load becuase of this error??</p>
  
  <pre><code>Missing required parameters for [Route: user.profile] [URI: user/{nickname}/profile].
  </code></pre>
  
  <p>This is my routes file</p>
  
  <pre><code>Route::group(['middleware' =&gt; 'web'], function () {
  Route::auth();
  
  Route::get('/', ['as' =&gt; 'home', 'uses' =&gt; 'BaseController@index']);
  
  Route::group(['namespace' =&gt; 'User', 'prefix' =&gt; 'user'], function(){
      Route::get('{nickname}/settings', ['as' =&gt; 'user.settings', 'uses' =&gt; 'SettingsController@index']);
      Route::get('{nickname}/profile', ['as' =&gt; 'user.profile', 'uses' =&gt; 'ProfileController@index']);
  });
  });
  </code></pre>