mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-18 01:39:01 +00:00
Fix Sidekiq Web UI
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -46,7 +46,7 @@ gem 'recommendify', github: 'paulasmuth/recommendify', ref: '34308c4'
|
||||
gem 'sidekiq'
|
||||
gem 'sidekiq-limit_fetch'
|
||||
gem 'slim', '~> 1.3.8'
|
||||
gem 'sinatra'
|
||||
gem 'sinatra', require: false
|
||||
|
||||
# cron jobs
|
||||
gem 'whenever', require: false
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
require 'sidekiq/web'
|
||||
|
||||
Snpr::Application.routes.draw do
|
||||
root :to => 'index#index' # change this, maybe
|
||||
|
||||
@@ -74,4 +76,6 @@ Snpr::Application.routes.draw do
|
||||
get '/user_picture_phenotypes/:id/edit', :to => 'user_picture_phenotypes#edit'
|
||||
get '/user_picture_phenotypes/:id/delete', :to => 'user_picture_phenotypes#delete'
|
||||
get '/beacon/rest/responses', :to => 'beacon#responses'
|
||||
|
||||
mount Sidekiq::Web => '/sidekiq'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user