title: Laravel "root" route variable
body: <p>I have the following routes in Laravel. I wanna be able to call both countries as well as pages on the "root" of the domain, not with any directory prefix.</p>
  
  <p>What I want to achieve is that when no page is found in the eloquent model, that it tries to go open the country and if that fails as well then show a 404.</p>
  
  <p>Is that possible and what do I need to change?</p>
  
  <pre><code>Route::get('/{page}', 'PageController@view')-&gt;name('pages.view');
  Route::get('/{country}', 'CountryController@view')-&gt;name('countries.view');
  </code></pre>
  
  <p>Edit: I think I was a bit unclear.
  The issue is, that the <code>countries.view</code> route is never reached because it fails before with <code>pages.view</code>. Let's say I call <code>/germany</code> - it first matches the <code>pages.view</code> route but no page <code>germany</code> exists. It immediately throws a 404 but I want it to check the country after that and only fail if /germany doesn't exist as a country as well.</p>