summaryrefslogtreecommitdiff
path: root/app/helpers/ide_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ide_helper.rb')
-rw-r--r--app/helpers/ide_helper.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/helpers/ide_helper.rb b/app/helpers/ide_helper.rb
index 8e50bbc6c04..4c6c449c2c8 100644
--- a/app/helpers/ide_helper.rb
+++ b/app/helpers/ide_helper.rb
@@ -3,14 +3,14 @@
module IdeHelper
def ide_data
{
- "empty-state-svg-path" => image_path('illustrations/multi_file_editor_empty.svg'),
- "no-changes-state-svg-path" => image_path('illustrations/multi-editor_no_changes_empty.svg'),
- "committed-state-svg-path" => image_path('illustrations/multi-editor_all_changes_committed_empty.svg'),
- "pipelines-empty-state-svg-path": image_path('illustrations/pipelines_empty.svg'),
- "promotion-svg-path": image_path('illustrations/web-ide_promotion.svg'),
- "ci-help-page-path" => help_page_path('ci/quick_start/README'),
- "web-ide-help-page-path" => help_page_path('user/project/web_ide/index.html'),
- "clientside-preview-enabled": Gitlab::CurrentSettings.current_application_settings.web_ide_clientside_preview_enabled.to_s
+ "empty-state-svg-path" => image_path("illustrations/multi_file_editor_empty.svg"),
+ "no-changes-state-svg-path" => image_path("illustrations/multi-editor_no_changes_empty.svg"),
+ "committed-state-svg-path" => image_path("illustrations/multi-editor_all_changes_committed_empty.svg"),
+ :"pipelines-empty-state-svg-path" => image_path("illustrations/pipelines_empty.svg"),
+ :"promotion-svg-path" => image_path("illustrations/web-ide_promotion.svg"),
+ "ci-help-page-path" => help_page_path("ci/quick_start/README"),
+ "web-ide-help-page-path" => help_page_path("user/project/web_ide/index.html"),
+ :"clientside-preview-enabled" => Gitlab::CurrentSettings.current_application_settings.web_ide_clientside_preview_enabled.to_s,
}
end
end