mirror of
https://github.com/glitch-soc/mastodon
synced 2025-04-24 17:44:50 +00:00
8 lines
211 B
Ruby
8 lines
211 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::TermsOfServiceController < Admin::BaseController
|
|
def index
|
|
authorize :terms_of_service, :index?
|
|
@terms_of_service = TermsOfService.published.first
|
|
end
|
|
end
|