about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-25 02:50:48 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-25 02:50:48 +0100
commit42dcb0d4cb119ecaac824fb1cace1fb011075b5e (patch)
tree49431aa95bbe2bc1c32129dc3e4c04d555e09ccc /config/routes.rb
parenta08e724476f47b85de9bb334eeadaf882a7a23ee (diff)
Adding Sidekiq for background processing (firstly just of mailers)
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
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