|
|
|
@@ -3,7 +3,7 @@ Rails.application.routes.draw do |
|
|
|
require 'sidekiq/web'
|
|
|
|
require 'admin_constraint'
|
|
|
|
|
|
|
|
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
|
|
|
# mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
|
|
|
|
|
|
|
# Serve websocket cable requests in-process
|
|
|
|
mount ActionCable.server => '/cable'
|
|
|
|
@@ -414,6 +414,7 @@ Rails.application.routes.draw do |
|
|
|
end
|
|
|
|
|
|
|
|
namespace :admins do
|
|
|
|
mount Sidekiq::Web => '/sidekiq'
|
|
|
|
get '/', to: 'dashboards#index'
|
|
|
|
resources :project_statistics, only: [:index] do
|
|
|
|
collection do
|
|
|
|
|