title: Laravel: Route not found error
body: <p>I have a newbie question in laravel. I'm trying to query a DB. I have already modified the config to include the necessary credentials for my DB. Now, when i try to query my DB like this:</p>
  
  <pre><code> &lt;?php
   /*
   |--------------------------------------------------------------------------
   | Application Routes
   |--------------------------------------------------------------------------
   |
   | Here is where you can register all of the routes for an application.
   | It's a breeze. Simply tell Laravel the URIs it should respond to
   | and give it the Closure to execute when that URI is requested.
   |
   */
   Route::get('/', function()
   {
     $topPages = DB::table('webmasters') -&gt; get();
     return $topPages;
   });
  </code></pre>
  
  <p>I get: Fatal error: </p>
  
  <blockquote>
    <p>Class 'Route' not found in /.../.../.../dashboard/app/routes.php on
    line 13.</p>
  </blockquote>
  
  <p>I have followed laracast video for accessing a database to the letter, can someone pls tell me what i'm missing or doing wrong here?
  Thanks in advance.</p>