Compare commits
No commits in common. "7a1239ae5a144f43b824019fe413ad1bbd680113" and "0bbbe679536b529ac7d7027153d18f8c2477d993" have entirely different histories.
7a1239ae5a
...
0bbbe67953
2 changed files with 1 additions and 5 deletions
|
|
@ -9,7 +9,3 @@ body.alt_styles-index
|
|||
.alt-style
|
||||
text-align: center
|
||||
width: 80px
|
||||
|
||||
.alt-style-thumbnail
|
||||
width: 80px
|
||||
height: 80px
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class AltStyle < ApplicationRecord
|
|||
# HACK: Just assume this is a Nostalgic Alt Style, and that the thumbnail
|
||||
# is named reliably!
|
||||
"https://images.neopets.com/items/nostalgic_" +
|
||||
"#{color.name.gsub(/\s+/, '').downcase}_#{species.name.downcase}.gif"
|
||||
"#{color.name.downcase}_#{species.name.downcase}.gif"
|
||||
end
|
||||
|
||||
MANIFEST_PATTERN = %r{^https://images.neopets.com/(?<prefix>.+)/(?<id>[0-9]+)(?<hash_part>_[^/]+)?/manifest\.json}
|
||||
|
|
|
|||
Loading…
Reference in a new issue