mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
963b9fd157
UI for admins to disable system flags.
13 lines
204 B
Ruby
13 lines
204 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::AdminController < ApplicationController
|
|
include WithServiceHelper
|
|
|
|
requires_login
|
|
before_action :ensure_admin
|
|
|
|
def index
|
|
render body: nil
|
|
end
|
|
end
|