A before filter to protect your sensitive actions.
Usually this method is called from your sessions#create.
Redirect to sign_out_url, signs out and redirects back to “/” (by default).
url = if params[:state] == "popup"
Redirect to sign_out_url, signs out and redirects back to “/” (by default). Usuallly this method is called from your sessions#destroy.
Generated on Fri Apr 19 01:18:11 2019 by yard 0.9.19 (ruby-2.5.1).