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

@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base
# Profiling
before_action do
if current_user && current_user.admin?
if (current_user && current_user.admin?) || Rails.env == 'development'
Rack::MiniProfiler.authorize_request
end
end