Update switch_user_controller.rb
Update switch_user_controller.rb

before_filter is deprecated and will  removed in Rails 5.1.
flyerhzm/switch_user,flyerhzm/switch_user,vkill/switch_user,vkill/switch_user