title: Laravel: Image not loading
body: <p>I am trying to load an image in Laravel. The image is loading in a <code>header.blade.php</code> file. It is working fine on other pages but when it comes to <code>localhost:8000/edit/id</code>, It just doesn't work. I am loading Image like this:</p>
  
  <pre><code>&lt;a href="{!! URL::to('/') !!}"&gt;
     &lt;img src="images/logo.png" /&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>My Route: </p>
  
  <pre><code>Route::get('edit/{id}', array('uses' =&gt; 'HomeController@edit'));
  </code></pre>
  
  <p>My Controller:</p>
  
  <pre><code> public function edit($id) {
      $reg = Register::find($id);
      $user = User::where('email', Session::get('email'))-&gt;first();
      if ($reg-&gt;user_id == $user-&gt;id) {
          return View::make('edit')
                          -&gt;with('id', $id);
      } else {
          return Redirect::to('dashboard')-&gt;with('wrong', 'Sorry! Something Went Wrong!');
      }
  }
  </code></pre>
  
  <p>My image directory: <code>public/images/logo.png</code></p>
  
  <p>It is working fine on other pages like <code>localhost:8000/about</code> but it doesn't work on <code>localhost/edit/2</code>, any help?</p>