diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-02 10:34:36 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-04 01:47:38 +0300 |
commit | ec9180719ef3d8a3d2aa6bc67b2ec31f91c57613 (patch) | |
tree | dcbaaea460d4e6fd902ff151f1352bf9bf555214 /app/views/projects/graphs | |
parent | 1f9743310054273b98e423b6dc5e99a5bc9fd7a2 (diff) |
create a cacheable commons bundle for d3 library
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r-- | app/views/projects/graphs/charts.html.haml | 1 | ||||
-rw-r--r-- | app/views/projects/graphs/show.html.haml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/graphs/charts.html.haml b/app/views/projects/graphs/charts.html.haml index fa28db6c71f..464ac34d961 100644 --- a/app/views/projects/graphs/charts.html.haml +++ b/app/views/projects/graphs/charts.html.haml @@ -1,6 +1,7 @@ - @no_container = true - page_title "Charts" - content_for :page_specific_javascripts do + = page_specific_javascript_bundle_tag('common_d3') = page_specific_javascript_bundle_tag('graphs') = render "projects/commits/head" diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml index 05291c65b50..680f8ae6c8f 100644 --- a/app/views/projects/graphs/show.html.haml +++ b/app/views/projects/graphs/show.html.haml @@ -1,6 +1,7 @@ - @no_container = true - page_title "Contributors" - content_for :page_specific_javascripts do + = page_specific_javascript_bundle_tag('common_d3') = page_specific_javascript_bundle_tag('graphs') = render 'projects/commits/head' |