feat: Audit log APIs (#6434)
- Adds the appropriate APIs for Audit Logs. ref: #6015
This commit is contained in:
5
config/initializers/audited.rb
Normal file
5
config/initializers/audited.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# configuration related audited gem : https://github.com/collectiveidea/audited
|
||||
|
||||
Audited.config do |config|
|
||||
config.audit_class = 'Enterprise::AuditLog'
|
||||
end
|
||||
@@ -45,6 +45,7 @@ Rails.application.routes.draw do
|
||||
resources :agents, only: [:index, :create, :update, :destroy]
|
||||
resources :agent_bots, only: [:index, :create, :show, :update, :destroy]
|
||||
resources :assignable_agents, only: [:index]
|
||||
resource :audit_logs, only: [:show]
|
||||
resources :callbacks, only: [] do
|
||||
collection do
|
||||
post :register_facebook_page
|
||||
|
||||
Reference in New Issue
Block a user