Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-14 12:41:56 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-10-14 12:41:56 +0300
commit5b9971fa9b967eb5591242155d6f5fce2c292b7d (patch)
tree7243f8297835fd14a4945920480ac6015a0e6542 /app/helpers
parent78c69d8d66ae254bae5736e927772e280f2c6b93 (diff)
Use the same style in the same file, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16957939
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/gitlab_routing_helper.rb24
1 files changed, 4 insertions, 20 deletions
diff --git a/app/helpers/gitlab_routing_helper.rb b/app/helpers/gitlab_routing_helper.rb
index f9c3d3f270f..1e081335865 100644
--- a/app/helpers/gitlab_routing_helper.rb
+++ b/app/helpers/gitlab_routing_helper.rb
@@ -95,35 +95,19 @@ module GitlabRoutingHelper
end
def pipeline_url(pipeline, *args)
- namespace_project_pipeline_url(
- pipeline.project.namespace,
- pipeline.project,
- pipeline.id,
- *args)
+ namespace_project_pipeline_url(pipeline.project.namespace, pipeline.project, pipeline.id, *args)
end
def pipeline_build_url(pipeline, build, *args)
- namespace_project_build_url(
- pipeline.project.namespace,
- pipeline.project,
- build.id,
- *args)
+ namespace_project_build_url(pipeline.project.namespace, pipeline.project,build.id, *args)
end
def commits_url(entity, *args)
- namespace_project_commits_url(
- entity.project.namespace,
- entity.project,
- entity.ref,
- *args)
+ namespace_project_commits_url(entity.project.namespace, entity.project, entity.ref, *args)
end
def commit_url(entity, *args)
- namespace_project_commit_url(
- entity.project.namespace,
- entity.project,
- entity.sha,
- *args)
+ namespace_project_commit_url(entity.project.namespace, entity.project, entity.sha, *args)
end
def project_snippet_url(entity, *args)