From 830ea225df0e5d8de1c40cf3aa16439c7e182cc8 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 24 Nov 2022 18:52:21 +0000 Subject: [PATCH] FIX: Remove register_asset call for `.hbs` file (#34) Files in the `assets/javascripts` directory are automatically compiled, so this was introducing a duplicate. In the latest version of Discourse this also triggers a build error --- plugin.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index e430221..bcbae4f 100644 --- a/plugin.rb +++ b/plugin.rb @@ -57,5 +57,4 @@ after_initialize do end end -register_asset "javascripts/discourse/templates/connectors/user-custom-preferences/signature-preferences.hbs" register_asset "stylesheets/common/signatures.scss"