Skip to content

Commit

Permalink
be more robust showing config list
Browse files Browse the repository at this point in the history
  • Loading branch information
wvengen committed Sep 22, 2014
1 parent 668ba1e commit 71324ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/admin/configs_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def show_config_value(key, value)
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
Expand Down

0 comments on commit 71324ce

Please sign in to comment.