Sha256: 5c51a2426b15bd056f9153bfb86f0c9ce94029994b5ccfe7c29c776fff577b3e

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

class Hq::ApplicationController < ApplicationController
  before_action :set_audit_user
  layout 'hq/application'
  self.responder = ApplicationResponder

  private

  def set_audit_user
    Audited.current_user_method = :current_admin
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/app_files/app/controllers/hq/application_controller.rb
cybele-2.3.1 templates/app_files/app/controllers/hq/application_controller.rb
cybele-2.2.0 templates/app_files/app/controllers/hq/application_controller.rb
cybele-2.1.0 templates/app_files/app/controllers/hq/application_controller.rb
cybele-2.0.0 templates/app_files/app/controllers/hq/application_controller.rb