Force whodunnit hook on registrant controllers

This commit is contained in:
Karl Erik Õunapuu 2020-08-07 13:31:55 +03:00
parent a44466b0a6
commit 5b963d9e97

View file

@ -1,5 +1,6 @@
class RegistrantController < ApplicationController
before_action :authenticate_registrant_user!
before_action :set_paper_trail_whodunnit
layout 'registrant/application'
include Registrant::ApplicationHelper
@ -33,4 +34,4 @@ class RegistrantController < ApplicationController
flash.now[:notice] = t('registrant.company_register_unavailable')
current_registrant_user.direct_domains
end
end
end