12 lines
231 B
Ruby
12 lines
231 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WowMountsController < ProtectedController
|
|
def index
|
|
@pagy, @wow_mounts = pagy(WowMount.includes(:users), items: 12)
|
|
end
|
|
|
|
def show
|
|
@wow_mount = WowMount.find(params[:id])
|
|
end
|
|
end
|