title: Laravel - Using (:any?) wildcard for ALL routes?
body: <p>I am having a bit of trouble with the routing.</p>
  <p>I'm working on a CMS, and I need two primary routes. <code>/admin</code> and <code>/(:any)</code>. The <code>admin</code> controller is used for the route <code>/admin</code>, and the <code>view</code> controller should be used for anything else than <code>/admin</code>. From the <code>view</code> controller, I will then parse the url and show the correct content.</p>
  <p>This is what I have:</p>
  <pre><code>Route::get(array('admin', 'admin/dashboard'), array('as' =&gt; 'admin', 'uses' =&gt;'admin.dashboard@index'));
  Route::any('(:any)', 'view@index');
  </code></pre>
  <p>The first route works, but the second one doesn't. I played around with it a little bit, and it seems if I use <code>(:any)</code> without the question mark, it only works if I put something after <code>/</code>. If i <em>do</em> put the question mark there, it doesn't work at all.</p>
  <p>I want all of the following routes to go to view@index:</p>
  <pre><code>/
  /something
  /something/something
  /something/something/something
  /something/something/something/something
  ...etc...
  </code></pre>
  <p>Is this possible without hardcoding a bunch of <code>(:any?)/(:any?)/(:any?)/(:any?)</code> (which I don't even know works)?</p>
  <p>What's the best way to go about this?</p>