Sha256: aacc7dd7f34a0a6ea4c17f477b38d84dd5595ab1f31494f46a961958d1e0ff75
Contents?: true
Size: 384 Bytes
Versions: 15
Compression:
Stored size: 384 Bytes
Contents
class SessionsController < Devise::SessionsController include Sessions::ControllerBase def destroy if params.include?(:onboard_logout) signed_out = (Devise.sign_out_all_scopes ? sign_out : sign_out(resource_name)) set_flash_message! :notice, :signed_out if signed_out yield if block_given? redirect_to root_path else super end end end
Version data entries
15 entries across 15 versions & 1 rubygems