mirror of
https://github.com/internetee/registry.git
synced 2025-06-02 18:58:35 +02:00
Set PaperTrail :whodunnit for all Registrar-related controllers
This commit is contained in:
parent
8d3fc07754
commit
a56dc03565
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ module Epp
|
|||
rescue_from StandardError, with: :respond_with_command_failed_error
|
||||
rescue_from AuthorizationError, with: :respond_with_authorization_error
|
||||
rescue_from ActiveRecord::RecordNotFound, with: :respond_with_object_does_not_exist_error
|
||||
before_action :set_paper_trail_whodunnit
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ class Registrar
|
|||
before_action :check_ip_restriction
|
||||
helper_method :depp_controller?
|
||||
helper_method :head_title_sufix
|
||||
before_action :set_paper_trail_whodunnit
|
||||
|
||||
protected
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue