Added sort function and pagy calendar to admin/jobs index

This commit is contained in:
2024-09-23 15:17:37 +02:00
parent 084613bbf5
commit 82f91c7111
5 changed files with 74 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ class Admin::DashboardsController < ApplicationController
before_action :authorize!
def show
@user = User.all
@jobs = Job.currently_working_on
@jobs = Job.all
end
def authorize!