Live timelines using ActionCable
This commit is contained in:
parent
10ba09f546
commit
6deb9f966e
24 changed files with 99 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue