title: Laravel error Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException
body: <p>I have read other questions in this forum to fix this problem, but nothing helped me.</p>
  
  <p>I'm receiving this error only in one folder in other folder laravel works perfect no errors.
  Error is: </p>
  
  <blockquote>
    <p>Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException</p>
  </blockquote>
  
  <p>The code i using.
  homa.blade.php</p>
  
  <pre><code>&lt;section&gt;
      &lt;h2&gt;&lt;a href="{{ URL::action('post-show', $post-&gt;slug) }}"&gt;{{ $post-&gt;title }}&lt;/a&gt;&lt;/h2&gt;
      {{ Markdown::parse(Str::limit($post-&gt;body, 300)) }}
      &lt;a href="{{ URL::action('post-show', $post-&gt;slug) }}"&gt;Read more &amp;rarr;&lt;/a&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>routes.php</p>
  
  <pre><code>Route::get('/posts/{$slug}', array(
      'as' =&gt; 'post-show',
      'uses' =&gt; 'PostController@getShow'
  ));
  </code></pre>
  
  <p>and controller is PostController.php</p>
  
  <pre><code>&lt;?php
  
  class PostController extends BaseController {
  
      public function getShow($slug) {
          echo 'Tets';
      }
  }
  </code></pre>
  
  <p>This is all my code nothing more.</p>