bastodon/app/policies/relay_policy.rb
Eugen Rochko e55dce3176
Add federation relay support (#7998)
* Add federation relay support

* Add admin UI for managing relays

* Include actor on relay-related activities

* Fix i18n
2018-07-13 02:16:06 +02:00

7 lignes
104 o
Ruby

# frozen_string_literal: true
class RelayPolicy < ApplicationPolicy
def update?
admin?
end
end