Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
84db89ac
Commit
84db89ac
authored
Feb 04, 2020
by
Nick Kipling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applying feedback to helper function
parent
118c4a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/helpers/ee/packages_helper.rb
ee/app/helpers/ee/packages_helper.rb
+2
-2
No files found.
ee/app/helpers/ee/packages_helper.rb
View file @
84db89ac
...
@@ -19,8 +19,8 @@ module EE
...
@@ -19,8 +19,8 @@ module EE
end
end
def
nuget_package_registry_url
(
project_id
)
def
nuget_package_registry_url
(
project_id
)
project_registry
=
expose_path
(
api_v4_projects_packages_nuget_index_path
(
id:
project_id
,
format:
".json"
))
project_registry
_path
=
expose_path
(
api_v4_projects_packages_nuget_index_path
(
id:
project_id
,
format:
'.json'
))
::
Gitlab
::
Utils
.
append_path
(
::
Gitlab
.
config
.
gitlab
.
url
,
project_registry
)
::
Gitlab
::
Utils
.
append_path
(
::
Gitlab
.
config
.
gitlab
.
url
,
project_registry
_path
)
end
end
def
package_registry_project_url
(
project_id
,
registry_type
=
:maven
)
def
package_registry_project_url
(
project_id
,
registry_type
=
:maven
)
...
...
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