98755844a1
* Bind sessions to identities * Remove references to the identity token * Move email changes to identity * Move account menu into a turbo-frame * Create tenants from a tenanted route
18 lines
352 B
Ruby
18 lines
352 B
Ruby
class Sessions::MenusController < ApplicationController
|
|
require_untenanted_access
|
|
|
|
layout "public"
|
|
|
|
def show
|
|
if params[:menu_section]
|
|
request.variant = :menu_section
|
|
end
|
|
|
|
@memberships = Current.identity.memberships
|
|
|
|
if params[:without]
|
|
@memberships = @memberships.where.not(tenant: params[:without])
|
|
end
|
|
end
|
|
end
|