2022-02-14 22:27:53 +02:00
|
|
|
# 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!
|
2022-02-14 22:54:01 +02:00
|
|
|
before_action :set_pack
|
2022-02-14 22:27:53 +02:00
|
|
|
|
|
|
|
private
|
|
|
|
|
2022-02-14 22:54:01 +02:00
|
|
|
def set_pack
|
|
|
|
use_pack 'admin'
|
|
|
|
end
|
|
|
|
|
2022-02-14 22:27:53 +02:00
|
|
|
def set_body_classes
|
|
|
|
@body_classes = 'admin'
|
|
|
|
end
|
|
|
|
end
|