title: Class Controller does not exist in Laravel
body: <p>I'm new to Laravel and I'm just following some tutorial blogs but I'm stuck at early stage.</p>
  
  <p>Here is my Route</p>
  
  <pre><code>Route::resource('ip', 'IpController');
  Route::get("index","IpController@view");
  </code></pre>
  
  <p>and here is my controller</p>
  
  <pre><code>&lt;?php
  
  class IpController extends BaseController {
  
  
      public function index()
      {
          return View::make('hello');
      }
  
  }
  </code></pre>
  
  <p>here is how I access the page</p>
  
  <pre><code>&lt;a href="{{ URL() }}/ip/index"&gt;IP&lt;/a&gt;
  </code></pre>
  
  <p>I do what the tutorials says but I'm confused why I've got this error when accessing the page.</p>
  
  <p><strong><em>Class IpController does not exist</em></strong> </p>
  
  <p>May i know what i've done wrong and how can i fix it? TIA!</p>