Commit 70c4badf authored by Bryce Johnson's avatar Bryce Johnson

Rename scripts_body_top to project_javascripts.

parent f1bcf1e5
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
- if content_for?(:page_specific_javascripts) - if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts = yield :page_specific_javascripts
= yield :scripts_body_top = yield :project_javascripts
= csrf_meta_tags = csrf_meta_tags
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- header_title project_title(@project) unless header_title - header_title project_title(@project) unless header_title
- nav "project" - nav "project"
- content_for :scripts_body_top do - content_for :project_javascripts do
- project = @target_project || @project - project = @target_project || @project
- if @project_wiki && @page - if @project_wiki && @page
- preview_markdown_path = namespace_project_wiki_preview_markdown_path(project.namespace, project, @page.slug) - preview_markdown_path = namespace_project_wiki_preview_markdown_path(project.namespace, project, @page.slug)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment