projects
/
selectricity-live
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597c27d
)
Display same in hostname and IP when IP lookup fails
author
John Dong
<jdong@mit.edu>
Wed, 15 Aug 2007 21:35:51 +0000
(17:35 -0400)
committer
John Dong
<jdong@mit.edu>
Wed, 15 Aug 2007 21:35:51 +0000
(17:35 -0400)
app/views/quickvote/results.rhtml
patch
|
blob
|
history
diff --git
a/app/views/quickvote/results.rhtml
b/app/views/quickvote/results.rhtml
index 98a71e54c97cdf8f05368832506b5b5ba8f5327d..9677d9ac0ae307e2ab7d102da2827b5e4a516220 100644
(file)
--- a/
app/views/quickvote/results.rhtml
+++ b/
app/views/quickvote/results.rhtml
@@
-160,7
+160,7
@@
by several other names.</p>
<%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %>
<% rescue ArgumentError => err %>
- <%=
" - "
%>
+ <%=
voter.ipaddress
%>
<% end %>
</td>
<td><%= voter.vote.votestring %></td>
Benjamin Mako Hill
||
Want to submit a patch?