diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-18 15:49:51 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-18 15:49:51 +0200 |
commit | 6deb9f966eb9a280cc16428ba9324ffc15ea60a8 (patch) | |
tree | ec3574856544cad4766a6bb93905089d8086db0a /config/routes.rb | |
parent | 10ba09f5466fe3d34a5ed78202c35f4e4f9d30e6 (diff) |
Live timelines using ActionCable
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index e9e662ed0..7b6b1ab3a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,8 @@ require 'sidekiq/web' Rails.application.routes.draw do + mount ActionCable.server => '/cable' + authenticate :user, lambda { |u| u.admin? } do mount Sidekiq::Web => '/sidekiq' end |