Forgot to run tests

This commit is contained in:
Christoph Haas 2021-02-28 22:07:33 +01:00
parent 7004e14a88
commit eee196507b
3 changed files with 13 additions and 15 deletions

View file

@ -18,7 +18,7 @@
.cell.pkgcard data-equalizer-watch=true
a.black href=package_path(name: pkg.name)
.image
= small_img(screenshots_visible_to_user(pkg, session).first, cls: '')
= small_img(pkg.screenshots.accessible_by(current_ability, :view).first, cls: '')
.text.pkgname
= pkg.name
.text
@ -29,7 +29,7 @@
.small-12.medium-4.cell.pkgcard
a.black href=package_path(name: pkg.name)
.image
= small_img(screenshots_visible_to_user(pkg, session).first, cls: '')
= small_img(pkg.screenshots.accessible_by(current_ability, :view).first, cls: '')
.small-12.medium-8.cell
h2
a href=package_path(name: pkg.name)