projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed shortlink zoom level correction char to '-', as this seems to fare better...
[rails.git]
/
lib
/
short_link.rb
diff --git
a/lib/short_link.rb
b/lib/short_link.rb
index afcf1ef37f5462a0b83b4cc3d85a283a24e0dc7d..b91d7e569dddc57d12e3b3fe02d11df7aea10e82 100644
(file)
--- a/
lib/short_link.rb
+++ b/
lib/short_link.rb
@@
-57,7
+57,7
@@
module ShortLink
# append characters onto the end of the string to represent
# partial zoom levels (characters themselves have a granularity
# of 3 zoom levels).
- ((z + 8) % 3).times { str << "
=
" }
+ ((z + 8) % 3).times { str << "
-
" }
return str
end