mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 07:19:08 +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)
|
||||
case c
|
||||
def bootstrap_color(color)
|
||||
case color
|
||||
when "error", "alert"
|
||||
"danger"
|
||||
when "notice"
|
||||
"info"
|
||||
else
|
||||
c
|
||||
color
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue