Skip to content

Commit

Permalink
Fixes the sidekiq-CSS-issue in production
Browse files Browse the repository at this point in the history
  • Loading branch information
philippbayer committed Sep 4, 2013
1 parent bf99b84 commit 65b974a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 6 additions & 1 deletion config.ru
@@ -1,2 +1,7 @@
require 'sidekiq/web'
require ::File.expand_path('../config/environment', __FILE__)
run Snpr::Application

run Rack::URLMap.new(
"/" => Rails.application,
"/sidekiq" => Sidekiq::Web
)
3 changes: 0 additions & 3 deletions config/routes.rb
@@ -1,4 +1,3 @@
require 'sidekiq/web'
Snpr::Application.routes.draw do
resources :static
resources :phenotypes do
Expand Down Expand Up @@ -75,8 +74,6 @@

root :to => 'index#index' # change this, maybe

mount Sidekiq::Web, at: '/sidekiq'

# The priority is based upon order of creation:
# first created -> highest priority.

Expand Down

0 comments on commit 65b974a

Please sign in to comment.