app/helpers/application_helper.rb
# translate the rails flash levels to appropriate twitter boostrap css classes
translate the rails flash levels to appropriate twitter boostrap css classes
translate the rails flash levels to appropriate twitter boostrap css classes
def flash_class(level)
    case level
    when :notice then "alert alert-info"
    when :success then "alert alert-success"
    when :error then "alert alert-error"
    when :alert then "alert alert-error"
    end
  end
def flash_class ( level ) case level when :notice then "alert alert-info" when :success then "alert alert-success" when :error then "alert alert-error" when :alert then "alert alert-error" end end
translate the rails flash levels to appropriate twitter boostrap css classes
translate the rails flash levels to appropriate twitter boostrap css classes
level
<not_specific>