title: Symfony\Component\HttpKernel\Exception\NotFoundHttpException Laravel
body: <p>I am trying to use RESTful controller. Here is my <code>Route.php</code>:</p>
  
  <pre><code>Route::resource('test', 'TestController');
  Route::get('/', function()
  {
      return View::make('hello');
  });
  </code></pre>
  
  <p>Here is my <code>TestController.php</code></p>
  
  <pre><code>&lt;?php
  class TestController extends \BaseController {
  
      /**
       * Display a listing of the resource.
       *
       * @return Response
       */
      public function index()
      {
              return View::make('test.home');
      }
  
      /**
       * Show the form for creating a new resource.
       *
       * @return Response
       */
      public function create()
      {
              //
      }
  
      /**
       * Store a newly created resource in storage.
       *
       * @return Response
       */
      public function store()
      {
              //
      }
  
      /**
       * Display the specified resource.
       *
       * @param  int  $id
       * @return Response
       */
      public function show($id)
      {
              //
      }
  
      /**
       * Show the form for editing the specified resource.
       *
       * @param  int  $id
       * @return Response
       */
      public function edit($id)
      {
              //
      }
  
      /**
       * Update the specified resource in storage.
       *
       * @param  int  $id
       * @return Response
       */
      public function update($id)
      {
              //
      }
  
      /**
       * Remove the specified resource from storage.
       *
       * @param  int  $id
       * @return Response
       */
      public function destroy($id)
      {
              //
      }
  }
  </code></pre>
  
  <p>My app route is <code>localhost/Test/public/</code> and it shows "You have arrived" message. But when I tried <code>localhost/Test/public/test</code> It gives me "Symfony\Component\HttpKernel\Exception\NotFoundHttpException"</p>
  
  <p>Here is my log:</p>
  
  <pre><code>[2014-05-11 14:29:59] production.ERROR: NotFoundHttpException Route: `http://localhost/Test/public/test` [] []
  [2014-05-11 14:29:59] production.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in C:\wamp\www\test\bootstrap\compiled.php:5289
  Stack trace:
  #0 C:\wamp\www\test\bootstrap\compiled.php(4663): Illuminate\Routing\RouteCollection-&gt;match(Object(Illuminate\Http\Request))
  #1 C:\wamp\www\test\bootstrap\compiled.php(4651): Illuminate\Routing\Router-&gt;findRoute(Object(Illuminate\Http\Request))
  #2 C:\wamp\www\test\bootstrap\compiled.php(4643): Illuminate\Routing\Router-&gt;dispatchToRoute(Object(Illuminate\Http\Request))
  #3 C:\wamp\www\test\bootstrap\compiled.php(698): Illuminate\Routing\Router-&gt;dispatch(Object(Illuminate\Http\Request))
  #4 C:\wamp\www\test\bootstrap\compiled.php(679): Illuminate\Foundation\Application-&gt;dispatch(Object(Illuminate\Http\Request))
  #5 C:\wamp\www\test\bootstrap\compiled.php(1136): Illuminate\Foundation\Application-&gt;handle(Object(Illuminate\Http\Request), 1, true)
  #6 C:\wamp\www\test\bootstrap\compiled.php(7218): Illuminate\Http\FrameGuard-&gt;handle(Object(Illuminate\Http\Request), 1, true)
  #7 C:\wamp\www\test\bootstrap\compiled.php(7815): Illuminate\Session\Middleware-&gt;handle(Object(Illuminate\Http\Request), 1, true)
  #8 C:\wamp\www\test\bootstrap\compiled.php(7762): Illuminate\Cookie\Queue-&gt;handle(Object(Illuminate\Http\Request), 1, true)
  #9 C:\wamp\www\test\bootstrap\compiled.php(10768): Illuminate\Cookie\Guard-&gt;handle(Object(Illuminate\Http\Request), 1, true)
  #10 C:\wamp\www\test\bootstrap\compiled.php(640): Stack\StackedHttpKernel-&gt;handle(Object(Illuminate\Http\Request))
  #11 C:\wamp\www\test\public\index.php(49): Illuminate\Foundation\Application-&gt;run()
  #12 {main} [] []
  </code></pre>
  
  <p>I know this question has been asked many times. I had gone through many relevant threads but just can not figure out the solution. </p>