BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5b9971fa
Commit
5b9971fa
authored
Oct 14, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the same style in the same file, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16957939
parent
78c69d8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
gitlab_routing_helper.rb
app/helpers/gitlab_routing_helper.rb
+4
-20
No files found.
app/helpers/gitlab_routing_helper.rb
View file @
5b9971fa
...
@@ -95,35 +95,19 @@ module GitlabRoutingHelper
...
@@ -95,35 +95,19 @@ module GitlabRoutingHelper
end
end
def
pipeline_url
(
pipeline
,
*
args
)
def
pipeline_url
(
pipeline
,
*
args
)
namespace_project_pipeline_url
(
namespace_project_pipeline_url
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
,
*
args
)
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
,
*
args
)
end
end
def
pipeline_build_url
(
pipeline
,
build
,
*
args
)
def
pipeline_build_url
(
pipeline
,
build
,
*
args
)
namespace_project_build_url
(
namespace_project_build_url
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
build
.
id
,
*
args
)
pipeline
.
project
.
namespace
,
pipeline
.
project
,
build
.
id
,
*
args
)
end
end
def
commits_url
(
entity
,
*
args
)
def
commits_url
(
entity
,
*
args
)
namespace_project_commits_url
(
namespace_project_commits_url
(
entity
.
project
.
namespace
,
entity
.
project
,
entity
.
ref
,
*
args
)
entity
.
project
.
namespace
,
entity
.
project
,
entity
.
ref
,
*
args
)
end
end
def
commit_url
(
entity
,
*
args
)
def
commit_url
(
entity
,
*
args
)
namespace_project_commit_url
(
namespace_project_commit_url
(
entity
.
project
.
namespace
,
entity
.
project
,
entity
.
sha
,
*
args
)
entity
.
project
.
namespace
,
entity
.
project
,
entity
.
sha
,
*
args
)
end
end
def
project_snippet_url
(
entity
,
*
args
)
def
project_snippet_url
(
entity
,
*
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment