From 89adfb53fe3848f14777c63ef6e601b289d5b873 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Mon, 1 Jul 2024 15:01:45 +0200 Subject: [PATCH] Remove unused resource update.js.erb template This template is never used. We either redirect or render errors (via the `render_errors_or_redirect`) method from `Admin::BaseController`. --- app/views/alchemy/base/update.js.erb | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 app/views/alchemy/base/update.js.erb diff --git a/app/views/alchemy/base/update.js.erb b/app/views/alchemy/base/update.js.erb deleted file mode 100644 index cd57dd7a85..0000000000 --- a/app/views/alchemy/base/update.js.erb +++ /dev/null @@ -1,5 +0,0 @@ -Alchemy.closeCurrentDialog(); -<% unless flash[:notice].blank? -%> -Alchemy.growl('<%= j flash[:notice] %>'); -<% end -%> -Alchemy.reloadPreview();