title: url::previous issue in laravel
body: <p>I have a main <code>list view page</code> and a <code>product page</code> and an <code>items page</code> </p>
  
  <p>I have used the <code>URL::previous()</code> in a <code>a href=""</code> tag</p>
  
  <pre><code>&lt;a class="btn" title="Back" alt="Back" href="{{URL::previous()}}"&gt;Back&lt;/a&gt;  
  </code></pre>
  
  <p>In my <code>product page</code> and in <code>items page</code> </p>
  
  <p>When I go to products page through list view page and press the back button it goes to the pagged url of the list view page and when I press back button in items page it goes to the product page </p>
  
  <p>But if I press the back button now <strong>it again goes to the items page instead of the list view page</strong></p>
  
  <p>Is there a way that I could only go back if I am from certain url in laravel??  or is there any functions regarding this...</p>
  
  <p>Hope I have explained my problem up to a certain extent.. awaiting for your suggestions regarding this...</p>