From 13b31def80c1f1262bf6fd21226c0639dcfabb13 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 8 Sep 2021 15:34:41 -0400 Subject: [PATCH] FIX: Ember CLI was being hijacked before potential errors This was problematic if something like SCSS file throws an error as the app would tell Ember CLI to bootstrap as if everything is fine and not display the error. The fix is to only hijack the rendering at the end of the template instead of the beginning. --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index b476b2f41c9..26dc3f6a404 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,4 +1,3 @@ -<%- hijack_if_ember_cli! -%> @@ -129,3 +128,4 @@ <%- end %> +<%- hijack_if_ember_cli! -%>