15 lines
388 B
Ruby
15 lines
388 B
Ruby
# frozen_string_literal: true
|
|
|
|
class InstanceStatistics::ApplicationController < ApplicationController
|
|
before_action :authenticate_user!
|
|
layout 'instance_statistics'
|
|
|
|
def index
|
|
redirect_to instance_statistics_conversations_development_index_index_path
|
|
end
|
|
|
|
def authenticate_user!
|
|
render_404 if ApplicationSettingsHelper.hide_instance_statistics?(current_user)
|
|
end
|
|
end
|