Consolidate inclusion of admin js pack link (#26628)

This commit is contained in:
Matt Jankowski 2023-08-24 03:56:23 -04:00 committed by GitHub
parent e3fd071973
commit 9974163776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 1 additions and 100 deletions

View file

@ -1,6 +1,3 @@
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
- content_for :page_title do
= t('admin.statuses.title')
\-

View file

@ -1,6 +1,3 @@
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
- content_for :page_title do
= t('statuses.title', name: display_name(@account), quote: truncate(@status.spoiler_text.presence || @status.text, length: 50, omission: '…', escape: false))