From 88123f5ecda96555982c7509c1278af49c8c133f Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Wed, 24 Apr 2019 12:35:01 +0200 Subject: [PATCH] Fix paths for highlightjs-github-theme [SCI-3377] --- app/javascript/packs/fontawesome.scss | 2 +- app/views/my_modules/_description_form.html.erb | 2 +- .../my_modules/protocols/_protocol_description_form.html.erb | 2 +- app/views/steps/_empty_step.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/packs/fontawesome.scss b/app/javascript/packs/fontawesome.scss index 75698eb85..fb98b131a 100644 --- a/app/javascript/packs/fontawesome.scss +++ b/app/javascript/packs/fontawesome.scss @@ -1,4 +1,4 @@ - $fa-font-path: "~@fortawesome/fontawesome-free/webfonts/"; +$fa-font-path: "~@fortawesome/fontawesome-free/webfonts/"; @import "~@fortawesome/fontawesome-free/scss/fontawesome"; @import "~@fortawesome/fontawesome-free/scss/solid"; diff --git a/app/views/my_modules/_description_form.html.erb b/app/views/my_modules/_description_form.html.erb index e5e2f5001..cd37c4c16 100644 --- a/app/views/my_modules/_description_form.html.erb +++ b/app/views/my_modules/_description_form.html.erb @@ -22,5 +22,5 @@ data: { object_type: 'my_module', object_id: @my_module.id, - highlightjs_path: asset_path('highlightjs-github-theme') } ) %> + highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %> <% end %> diff --git a/app/views/my_modules/protocols/_protocol_description_form.html.erb b/app/views/my_modules/protocols/_protocol_description_form.html.erb index 0e5abf20b..d26f78a05 100644 --- a/app/views/my_modules/protocols/_protocol_description_form.html.erb +++ b/app/views/my_modules/protocols/_protocol_description_form.html.erb @@ -22,5 +22,5 @@ data: { object_type: 'protocol', object_id: @my_module.protocol.id, - highlightjs_path: asset_path('highlightjs-github-theme') } ) %> + highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %> <% end %> diff --git a/app/views/steps/_empty_step.html.erb b/app/views/steps/_empty_step.html.erb index 07f1f90e7..61c6eedde 100644 --- a/app/views/steps/_empty_step.html.erb +++ b/app/views/steps/_empty_step.html.erb @@ -36,7 +36,7 @@ data: { object_type: 'step', object_id: @step.id, - highlightjs_path: asset_path('highlightjs-github-theme') } ) %> + highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %>