title: redirect to previous page on laravel
body: <p>I need to redirect to the previous page once an item is edited but it's redirecting to the same page (edit) again.</p>
  
  <p>I've tried with <code>Redirect::back()</code> and <code>URL:previous()</code>. This is the flow:</p>
  
  <ol>
  <li>(init from one of this two pages) show_pageA or show_pageB</li>
  <li>->(user clicks edit button) itemcontroller@edit</li>
  <li>->(clicks save) itemcontroller@store</li>
  <li>->(store method ends redirecting back) itemcontroller@edit</li>
  </ol>
  
  <p>Instead of being redirected at the steep 4 to itemcontroller@edit I'd like to be redirected to 1. No mather if the page was show_pageA or show_pageB <strong>(so I can't do any redirect to <em>specific_page</em>)</strong>. How can I accomplish this task?</p>