add media to WowPet and pagination

This commit is contained in:
Etienne Ischer
2021-04-29 15:58:13 +02:00
parent 7d582ebd91
commit b64fa26a55
7 changed files with 35 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
class WowPetsController < ProtectedController
def index
@wow_pets = WowPet.all
@pagy, @wow_pets = pagy(WowPet.all, items: 12)
end
def show