Give bootstrap_color a proper argument

This commit is contained in:
Andreas Nedbal 2023-01-04 17:49:52 +01:00 committed by Andreas Nedbal
parent 176a79c0df
commit 5c583acf05

View file

@ -74,14 +74,14 @@ module BootstrapHelper
## ##
# #
def bootstrap_color(c) def bootstrap_color(color)
case c case color
when "error", "alert" when "error", "alert"
"danger" "danger"
when "notice" when "notice"
"info" "info"
else else
c color
end end
end end
end end