From dee57982f101a29bc9b2c44a331e33305b422307 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 27 Apr 2024 20:01:31 +0200 Subject: [PATCH] =?UTF-8?q?Rename=20=E2=80=9Chome=E2=80=9D=20pack=20to=20?= =?UTF-8?q?=E2=80=9Capplication=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/concerns/web_app_controller_concern.rb | 2 +- .../flavours/glitch/packs/{home.js => application.js} | 0 app/javascript/flavours/glitch/theme.yml | 4 ++-- app/javascript/flavours/vanilla/theme.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename app/javascript/flavours/glitch/packs/{home.js => application.js} (100%) diff --git a/app/controllers/concerns/web_app_controller_concern.rb b/app/controllers/concerns/web_app_controller_concern.rb index a6af62af97..d20643e66c 100644 --- a/app/controllers/concerns/web_app_controller_concern.rb +++ b/app/controllers/concerns/web_app_controller_concern.rb @@ -39,6 +39,6 @@ module WebAppControllerConcern end def set_pack - use_pack 'home' + use_pack 'application' end end diff --git a/app/javascript/flavours/glitch/packs/home.js b/app/javascript/flavours/glitch/packs/application.js similarity index 100% rename from app/javascript/flavours/glitch/packs/home.js rename to app/javascript/flavours/glitch/packs/application.js diff --git a/app/javascript/flavours/glitch/theme.yml b/app/javascript/flavours/glitch/theme.yml index 670a163fcd..99a31cb663 100644 --- a/app/javascript/flavours/glitch/theme.yml +++ b/app/javascript/flavours/glitch/theme.yml @@ -10,8 +10,8 @@ pack: filename: common.js stylesheet: true error: error.js - home: - filename: home.js + application: + filename: application.js preload: - flavours/glitch/async/compose - flavours/glitch/async/home_timeline diff --git a/app/javascript/flavours/vanilla/theme.yml b/app/javascript/flavours/vanilla/theme.yml index ea02dee6cf..61ee528f96 100644 --- a/app/javascript/flavours/vanilla/theme.yml +++ b/app/javascript/flavours/vanilla/theme.yml @@ -10,7 +10,7 @@ pack: filename: common.js stylesheet: true error: error.js - home: + application: filename: application.js preload: - features/compose