FIX: Ember CLI was being hijacked before potential errors

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.

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b476b2f..26dc3f6 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,4 +1,3 @@
-<%- hijack_if_ember_cli! -%>
 <!DOCTYPE html>
 <html lang="<%= html_lang %>" class="<%= html_classes %>">
   <head>
@@ -129,3 +128,4 @@
     <%- end %>
   </body>
 </html>
+<%- hijack_if_ember_cli! -%>

GitHub sha: 13b31def80c1f1262bf6fd21226c0639dcfabb13

This commit appears in #14284 which was approved by pmusaraj. It was merged by eviltrout.