From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase Inspired by https://twitter.com/searls/status/1101137953743613952 I decided to try https://github.com/testdouble/standard on our codebase. It's opinionated, but at least it's a _standard_. --- app/helpers/gitlab_routing_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/helpers/gitlab_routing_helper.rb') diff --git a/app/helpers/gitlab_routing_helper.rb b/app/helpers/gitlab_routing_helper.rb index 04cf43be452..0ac4d0b08a0 100644 --- a/app/helpers/gitlab_routing_helper.rb +++ b/app/helpers/gitlab_routing_helper.rb @@ -154,17 +154,17 @@ module GitlabRoutingHelper # Artifacts def artifacts_action_path(path, project, build) - action, path_params = path.split('/', 2) + action, path_params = path.split("/", 2) args = [project, build, path_params] case action - when 'download' + when "download" download_project_job_artifacts_path(*args) - when 'browse' + when "browse" browse_project_job_artifacts_path(*args) - when 'file' + when "file" file_project_job_artifacts_path(*args) - when 'raw' + when "raw" raw_project_job_artifacts_path(*args) end end -- cgit v1.2.1