Upgrade from Rails 5.0 to 5.2

This commit is contained in:
Christoph Haas 2020-04-13 20:15:18 +02:00
parent 820ff2a30b
commit d130f68172
29 changed files with 504 additions and 301 deletions

View file

@ -30,7 +30,7 @@
h2 Newest upload
.thumb-height
a href=package_path(@newest_upload.package.name)
= image_tag(@newest_upload.image.url(:thumb, timestamp: false), alt: @newest_upload.caption)
= image_tag(@newest_upload.image.variant(resize: "160x120"), alt: @newest_upload.caption)
p
strong
=@newest_upload.package.name
@ -40,7 +40,7 @@
h2 Most popular
.thumb-height
a href=package_path(@most_popular_package.name)
img src=@most_popular_package.screenshots.first.image.url(:thumb, timestamp: false)
= image_tag(@most_popular_package.screenshots.first.image.variant(resize: "160x120"))
p
strong
=@most_popular_package.name