From 42dcb0d4cb119ecaac824fb1cace1fb011075b5e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 25 Mar 2016 02:50:48 +0100 Subject: Adding Sidekiq for background processing (firstly just of mailers) --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index f595438b7..0dde9f111 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,10 @@ +require 'sidekiq/web' + Rails.application.routes.draw do + authenticate :user do + mount Sidekiq::Web => '/sidekiq' + end + use_doorkeeper do controllers applications: 'oauth/applications' end -- cgit