Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-23 20:42:52 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-06-23 20:42:52 +0300
commitff01ca9c96dc001fabf5e5a1200bc3355c61a3ca (patch)
tree202bac874a6a64837d6dcfd2dc8dba687f608ce4 /app/views/projects/graphs
parentf82278c49cdda0db28c45143f6b19b3c4ca90f3e (diff)
Trying to make this work with sprockets in production.
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r--app/views/projects/graphs/_head.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/graphs/_head.html.haml b/app/views/projects/graphs/_head.html.haml
index ca04a782fcf..ca347406dfe 100644
--- a/app/views/projects/graphs/_head.html.haml
+++ b/app/views/projects/graphs/_head.html.haml
@@ -2,8 +2,8 @@
%ul{ class: (container_class) }
- content_for :page_specific_javascripts do
- = javascript_include_tag 'lib/chart.js', {integrity: true, "data-turbolinks-track" => true}
- = javascript_include_tag 'graphs/application.js', {integrity: true, "data-turbolinks-track" => true}
+ = page_specific_javascript_tag('lib/chart.js')
+ = page_specific_javascript_tag('graphs/application.js')
= nav_link(action: :show) do
= link_to 'Contributors', namespace_project_graph_path
= nav_link(action: :commits) do