1
0
Fork 0
forked from fedi/mastodon
mastodon/app/controllers/privacy_controller.rb
Eugen Rochko a2ba011326
Change privacy policy to be rendered in web UI, add REST API (#19310)
Source string no longer localized, Markdown instead of raw HTML
2022-10-08 06:01:11 +02:00

12 lines
233 B
Ruby

# frozen_string_literal: true
class PrivacyController < ApplicationController
include WebAppControllerConcern
skip_before_action :require_functional!
def show
expires_in 0, public: true if current_account.nil?
end
end