mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
Force whodunnit hook on registrant controllers
This commit is contained in:
parent
a44466b0a6
commit
5b963d9e97
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
class RegistrantController < ApplicationController
|
class RegistrantController < ApplicationController
|
||||||
before_action :authenticate_registrant_user!
|
before_action :authenticate_registrant_user!
|
||||||
|
before_action :set_paper_trail_whodunnit
|
||||||
layout 'registrant/application'
|
layout 'registrant/application'
|
||||||
|
|
||||||
include Registrant::ApplicationHelper
|
include Registrant::ApplicationHelper
|
||||||
|
@ -33,4 +34,4 @@ class RegistrantController < ApplicationController
|
||||||
flash.now[:notice] = t('registrant.company_register_unavailable')
|
flash.now[:notice] = t('registrant.company_register_unavailable')
|
||||||
current_registrant_user.direct_domains
|
current_registrant_user.direct_domains
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue