1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-25 06:55:12 +00:00
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