Browse Source

Include masquerade_user. Fixes #53

Chris Oliver 5 years ago
parent
commit
964c5f6260
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/controllers/application_controller.rb

+ 1 - 0
app/controllers/application_controller.rb

@@ -2,6 +2,7 @@ class ApplicationController < ActionController::Base
   protect_from_forgery with: :exception
 
   before_action :configure_permitted_parameters, if: :devise_controller?
+  before_action :masquerade_user!
 
   protected