Give `bootstrap_color` a proper argument
This commit is contained in:
parent
176a79c0df
commit
5c583acf05
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue