X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f95bdca9d25333308ef2f0c80eb2011f42d4a5eb..8f1a5a8b6f7f44d557e8772a6f1b7025b406bb4d:/app/views/quickvote/list_voters.rhtml diff --git a/app/views/quickvote/list_voters.rhtml b/app/views/quickvote/list_voters.rhtml index 4d8e538..cdfc049 100644 --- a/app/views/quickvote/list_voters.rhtml +++ b/app/views/quickvote/list_voters.rhtml @@ -38,7 +38,7 @@ end %> - <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host[-30..-1])%> + <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host.reverse.slice(0,30).reverse)%>