summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-02-02 14:06:43 -0500
committerBryce Johnson <bryce@gitlab.com>2017-02-02 14:06:43 -0500
commit70c4badf4e1192413fb4d8e95248533ca1e88c9d (patch)
treeaafb7fb18b1f9b77812d16412e04d59070103267
parentf1bcf1e583274ebf4e7d25e983aa3ba803b55f2c (diff)
downloadgitlab-ce-70c4badf4e1192413fb4d8e95248533ca1e88c9d.tar.gz
Rename scripts_body_top to project_javascripts.
-rw-r--r--app/views/layouts/_head.html.haml2
-rw-r--r--app/views/layouts/project.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 703c1009d5f..79e96f54936 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -33,7 +33,7 @@
- if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts
- = yield :scripts_body_top
+ = yield :project_javascripts
= csrf_meta_tags
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
index 277eb71ea73..f5e7ea7710d 100644
--- a/app/views/layouts/project.html.haml
+++ b/app/views/layouts/project.html.haml
@@ -3,7 +3,7 @@
- header_title project_title(@project) unless header_title
- nav "project"
-- content_for :scripts_body_top do
+- content_for :project_javascripts do
- project = @target_project || @project
- if @project_wiki && @page
- preview_markdown_path = namespace_project_wiki_preview_markdown_path(project.namespace, project, @page.slug)