title: Laravel 4 Redirect Header
body: <p>Right now I'm trying to learn and test Laravel 4, and I have a little concern about script.</p>
  
  <p>I wanted to insert information into the database, then redirect to the index page; the problem is that when I refresh the page, it displays the message to resend.</p>
  
  <p>Here is the code I use:</p>
  
  <pre><code>public function store()
  {
      $new_cat = new Cat;
      $new_cat-&gt;name = Input::get('new_cat');
      $new_cat-&gt;age = Input::get('age_cat');
  
      $new_cat-&gt;save();
      return Redirect::action('CatsController@index');
  
  }
  </code></pre>