mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-12 10:13:38 +01:00
Give bootstrap_color
a proper argument
This commit is contained in:
parent
176a79c0df
commit
5c583acf05
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue