0
0
Fork 0

Live timelines using ActionCable

This commit is contained in:
Eugen Rochko 2016-08-18 15:49:51 +02:00
parent 10ba09f546
commit 6deb9f966e
24 changed files with 99 additions and 53 deletions

View file

@ -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