mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 05:11:53 +01:00
8 lines
206 B
Ruby
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
|