0
0
Fork 0

Add server banner to web app, add GET /api/v2/instance to REST API (#19294)

This commit is contained in:
Eugen Rochko 2022-10-05 03:47:56 +02:00 committed by GitHub
parent cedcece0cc
commit d2528b26b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 473 additions and 196 deletions

View file

@ -18,7 +18,7 @@ class AboutController < ApplicationController
def more
flash.now[:notice] = I18n.t('about.instance_actor_flash') if params[:instance_actor]
toc_generator = TOCGenerator.new(@instance_presenter.site_extended_description)
toc_generator = TOCGenerator.new(@instance_presenter.extended_description)
@rules = Rule.ordered
@contents = toc_generator.html