title: How to define Flash Notifications with Twitter Bootstrap Rails gem
body: <p>I am trying to set flash notifications in the controller but it seems like I can only define :notice.  When I try to define :errors or flash[:errors] I've gotten a bunch of errors.  I currently have this working but all the messages are obviously a notice type and not an error or warning.  I want to know how to set a error or warning instead of a notice.  I am using rails 3.2 and the twitter bootstrap rails gem </p>
  
  <p>in application.html.erb</p>
  
  <pre><code>&lt;%= bootstrap_flash %&gt;
  </code></pre>
  
  <p>in <code>manuals_controller.rb</code></p>
  
  <pre><code>class ManualsController &lt; ApplicationController
    def create
      respond_to do |format|
        format.html { redirect_to root_url, notice:'MyManual was successfully created.' }
      end
    end
  end
  </code></pre>