diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-23 11:42:52 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-23 11:42:52 -0600 |
commit | ff01ca9c96dc001fabf5e5a1200bc3355c61a3ca (patch) | |
tree | 202bac874a6a64837d6dcfd2dc8dba687f608ce4 /app/views/projects/graphs | |
parent | f82278c49cdda0db28c45143f6b19b3c4ca90f3e (diff) | |
download | gitlab-ce-ff01ca9c96dc001fabf5e5a1200bc3355c61a3ca.tar.gz |
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.haml | 4 |
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 |