title: Passing flash hash from one controller to another controller
body: <p>I have a <code>create</code> method in one controller and at the end of this controller I want <code>redirect_to</code> another controller/view. How will I be able to display a <code>flash[:notice]</code> after the first controller is done and the next <code>redirect_to</code> view is rendered?</p>
  
  <p>Here's the code in the first controller:</p>
  
  <pre><code>if @list.save
          redirect_to root_path, :notice =&gt; "Created!"
  </code></pre>
  
  <p>I also noticed that it doesn't work here either:</p>
  
  <pre><code>if @list.save
      redirect_to root_path, :alert =&gt; "Created!"
  </code></pre>
  
  <p>Here's the routes file:</p>
  
  <pre><code>root :to =&gt; 'sessions#new'
  </code></pre>