mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 07:06:03 +01:00
14 lines
271 B
Ruby
14 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "sidekiq/api"
|
|
|
|
class Admin::DashboardController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def index
|
|
@sidekiq = {
|
|
processes: Sidekiq::ProcessSet.new,
|
|
stats: Sidekiq::Stats.new
|
|
}
|
|
end
|
|
end
|