Add server banner to web app, add GET /api/v2/instance
to REST API (#19294)
This commit is contained in:
parent
cedcece0cc
commit
d2528b26b6
30 changed files with 473 additions and 196 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue