Sha256: cb87397d54ecc41616e75d4e9b83bc8007f1132adea18c5b18c16a335bc0a419
Contents?: true
Size: 523 Bytes
Versions: 13
Compression:
Stored size: 523 Bytes
Contents
module PgEngine class BaseUsersController < ApplicationController include PgEngine::RequireSignIn before_action do # TODO!: requisito que esto esté seteado Current.namespace = :users # FIXME: ver que esto esté en todas las pantallas en que esté signed in, ej: en la home y en mi perfil # desduplicar en tenant controller @other_active_accounts = ActsAsTenant.without_tenant do Current.user.user_accounts.ua_active.to_a end @sidebar = false end end end
Version data entries
13 entries across 13 versions & 1 rubygems