be more robust showing config list
This commit is contained in:
parent
668ba1e5d6
commit
71324ce5db
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ module Admin::ConfigsHelper
|
|||
elsif value.is_a? Enumerable
|
||||
content_tag :ul, value.map {|v| content_tag :li, h(v)}.join.html_safe
|
||||
elsif key =~ /url|website|www|homepage/
|
||||
link_to(value, value).html_safe
|
||||
link_to(value, value.to_s).html_safe
|
||||
else
|
||||
value
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue