title: Laravel - CMS for certain pages
body: <p>I'm having an issue with figuring out the best approach for a requirement for a project.</p>
  
  <p>There are a whole bunch of <code>routes</code>/ <code>resources</code> that currently exist in the system. I'm developing a CMS for some of the pages but all of the current pages MUST stay as <code>resources</code> and all contain the same functionality as before.</p>
  
  <p>Here are the steps I want to achieve: </p>
  
  <pre><code>1. User enters `/users` 
  2. Checks to see if `/users` is inside the `Pages` table
     -&gt; No - (Return the Route::resource('/users))
     -&gt; Yes - Returned `Dynamic.blade.php` with the content from the table.
  </code></pre>
  
  <p>The that I'm having is not being able to return the <code>Route::resource</code> since I could return the view itself, if the requested page is not within the table however, I'm unsure whether or not it's possible to return the <code>Resource</code> for the particular end-point if it doesn't exist. </p>