mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-13 14:02:23 +00:00
9 lines
206 B
Ruby
9 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
|