mastodon/app/controllers/admin/terms_of_service_controller.rb
2024-12-09 10:04:46 +00:00

8 lines
206 B
Ruby

# frozen_string_literal: true
class Admin::TermsOfServiceController < Admin::BaseController
def index
authorize :terms_of_service, :index?
@terms_of_service = TermsOfService.live.first
end
end