mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Force whodunnit hook on admin controllers
This commit is contained in:
parent
cca51b8a03
commit
e7f8c83eb6
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ module Admin
|
|||
class BaseController < ApplicationController
|
||||
before_action :authenticate_admin_user!
|
||||
helper_method :head_title_sufix
|
||||
before_action :set_paper_trail_whodunnit
|
||||
|
||||
def head_title_sufix
|
||||
t(:admin_head_title_sufix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue