title: Routing issue causing Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException error
body: <p>I am getting this error when testing my code.  I know it is a routing issue but I can't see anything wrong with my routes.</p>
  
  <p>Here is the routes that are causing the problems:</p>
  
  <pre><code>Route::get('/messages', 'MessageController@create');
  Route::get('/messages/show/{comment}', 'MessageController@show');
  </code></pre>
  
  <p>Here is the controller:</p>
  
  <pre><code>class MessageController extends BaseController
  {
  
  protected $messageForm;
  
  public function __construct(MessageForm $messageForm, MessageRepository $messageRepository,
    MessageRecord $messageRecord)
  {
      $this-&gt;messageForm = $messageForm;
      $this-&gt;messageRepository = $messageRepository;
      $this-&gt;messageRecord = $messageRecord;
  }
  
  /**
   * Display a listing of the resource.
   * GET /messages
   *
   * @return Response
   */
  public function create()
  {
      return View::make('message.create');
  }
  
  
  
  public function show($comment)
  {
      $message_id = $this-&gt;messageRepository-&gt;find($comment);
      return View::make('message.show')-&gt;with('comment', $message_id);
  }
  
  /**
   * Store a newly created resource in storage.
   * POST /messaages
   *
   * @return Response
   */
  public function store()
  {
      $data = Input::all() ;
      $this-&gt;messageForm-&gt;validate($data);
  
      $messageRecord = new MessageRecord;
      $messageRecord-&gt;comment = $data['comment'];
  
      Return "Comment created";
  }
  }
  </code></pre>
  
  <p>composer.json</p>
  
  <pre><code>  {
  "name": "Desk",
  "description": "Control desk",
  "keywords": ["desk"],
  "require": {
      "laravel/framework": "4.2.*",
      "ornicar/gravatar-bundle": "1.1.*"
  },
  "require-dev": {
      "behat/behat": "3.0.*",
      "behat/mink-extension": "~2.0@dev",
      "behat/mink-goutte-driver": "~1.0",
      "phpunit/phpunit": "4.0.*",
      "mockery/mockery": "dev-master",
      "way/generators": "dev-master",
      "doctrine/dbal": "2.3.*"
  },
  "autoload": {
      "classmap": [
          "app/commands",
          "app/controllers",
          "app/controllers/parts",
          "app/controllers/cross",
          "app/database/migrations",
          "app/database/seeds",
          "app/database/seeds/parts",
          "app/tests/TestCase.php",
          "app/tests/FreshDatabase.php"
      ],
      "psr-4": {
          "Desk\\": "app/desk"
   }
  },
  "scripts": {
      "post-install-cmd": [
          "php artisan optimize"
      ],
      "post-update-cmd": [
          "php artisan clear-compiled",
          "php artisan optimize"
      ],
      "post-create-project-cmd": [
          "php artisan key:generate"
      ]
  },
  "config": {
      "preferred-install": "dist"
  },
  "minimum-stability": "dev",
  "prefer-stable": true
  }
  </code></pre>