Sha256: 99233ad19ee9296f2219287ce87f983617a8122b21f3fee64c8dbf6f9f1ced6b
Contents?: true
Size: 346 Bytes
Versions: 49
Compression:
Stored size: 346 Bytes
Contents
module Maestrano class SessionsController < ApplicationController # Logout def destroy session.delete(:uid) session.delete(:"role_#{session[:org_uid]}") session.delete(:org_uid) session.delete(:tenant) session.delete(:current_user_id) @current_user = nil redirect_to root_url end end end
Version data entries
49 entries across 49 versions & 1 rubygems