diff --git a/app/helpers/bootstrap_helper.rb b/app/helpers/bootstrap_helper.rb index 66eca988..6fe2cef2 100644 --- a/app/helpers/bootstrap_helper.rb +++ b/app/helpers/bootstrap_helper.rb @@ -74,14 +74,14 @@ module BootstrapHelper ## # - def bootstrap_color(c) - case c + def bootstrap_color(color) + case color when "error", "alert" "danger" when "notice" "info" else - c + color end end end