base_controller.rb 315 B

123456789101112131415161718
  1. # frozen_string_literal: true
  2. class Disputes::BaseController < ApplicationController
  3. include Authorization
  4. layout 'admin'
  5. skip_before_action :require_functional!
  6. before_action :set_body_classes
  7. before_action :authenticate_user!
  8. private
  9. def set_body_classes
  10. @body_classes = 'admin'
  11. end
  12. end