X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f95bdca9d25333308ef2f0c80eb2011f42d4a5eb..45d48f668c0159ebae18fecb76b3b94f79f87d24:/app/views/quickvote/list_voters.rhtml?ds=sidebyside 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)%>