Sha256: 0e401453d0499cb5265bda3d53d4faffe54f5bc5e4dddafeb51320d861f85a91
Contents?: true
Size: 347 Bytes
Versions: 50
Compression:
Stored size: 347 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
50 entries across 50 versions & 1 rubygems