Retrospring/app/controllers/admin/dashboard_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
271 B
Ruby
Raw Normal View History

2022-11-20 10:22:29 -08:00
# frozen_string_literal: true
require "sidekiq/api"
2022-11-20 08:58:44 -08:00
class Admin::DashboardController < ApplicationController
before_action :authenticate_user!
def index
@sidekiq = {
processes: Sidekiq::ProcessSet.new,
stats: Sidekiq::Stats.new
}
end
2022-11-20 08:58:44 -08:00
end