From 77273267b7ab87ec3f4352550834e1664d1bc00b Mon Sep 17 00:00:00 2001 From: Daniel Uber Date: Sat, 3 Apr 2021 18:50:11 -0500 Subject: [PATCH] Change file name to remove ERB suffix (#13237) We moved the initializePage.js file from ERB to pure/plain js in https://github.com/forem/forem/pull/8030, and the docs are out of sync with the code. Fix up the path to this file so it matches the codebase. --- docs/frontend/plain-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend/plain-js.md b/docs/frontend/plain-js.md index ff3d9d959..bcb6d1d21 100644 --- a/docs/frontend/plain-js.md +++ b/docs/frontend/plain-js.md @@ -27,7 +27,7 @@ which is included globally in the primary template, //= require_tree . ``` -One JS file in particular, `app/assets/javascripts/initializePage.js.erb`, +One JS file in particular, `app/assets/javascripts/initializePage.js`, bootstraps the majority of the functionality. You will notice, within this file, that major sections of the websites are bootstrapped, for example: