about summary refs log tree commit diff
path: root/app/controllers/disputes/base_controller.rb
blob: 7830c55247bc2a3eb2b77517ac57395a1e846997 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

class Disputes::BaseController < ApplicationController
  include Authorization

  layout 'admin'

  skip_before_action :require_functional!

  before_action :set_body_classes
  before_action :authenticate_user!
  before_action :set_pack

  private

  def set_pack
    use_pack 'admin'
  end

  def set_body_classes
    @body_classes = 'admin'
  end
end