Sha256: 1e519919d225b3a592dfa263310e1880572a7c16e0b5f71ff01a3687504b2b00
Contents?: true
Size: 591 Bytes
Versions: 68
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin module ManagedUsers # Controller that allows inspecting impersonation logs # class ImpersonationLogsController < Decidim::Admin::ApplicationController layout "decidim/admin/users" def index @impersonation_logs = Decidim::ImpersonationLog.where(user: user).order(started_at: :desc).page(params[:page]).per(15) end private def user @user ||= current_organization.users.find(params[:impersonatable_user_id]) end end end end end
Version data entries
68 entries across 68 versions & 1 rubygems