Initial admin/jobs index

This commit is contained in:
2024-09-17 14:39:15 +02:00
parent e7af7bae2f
commit 7b6a2faeca
8 changed files with 111 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
class Admin::JobsController < ApplicationController
before_action :authorize!
def index
@jobs = Job.all
@pagy, @records = pagy(@jobs, limit: 10)
end
end