Live timelines using ActionCable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user