Revert some refactoring in order to make codebase closer to upstream

This commit is contained in:
Thibaut Girka
2019-07-23 10:30:24 +02:00
parent 444796b69b
commit 8a89a2b0f4
12 changed files with 42 additions and 4 deletions

View File

@@ -1,8 +1,10 @@
# frozen_string_literal: true
class Settings::DeletesController < Settings::BaseController
layout 'admin'
prepend_before_action :check_enabled_deletion
before_action :check_enabled_deletion
before_action :authenticate_user!
before_action :require_not_suspended!
skip_before_action :require_functional!