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
0
Merge Requests
0
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
Kazuhiko Shiozaki
gitlab-ce
Commits
9e701ccd
Commit
9e701ccd
authored
Jan 13, 2016
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos
parent
df548285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/api/variables.rb
lib/api/variables.rb
+2
-2
No files found.
lib/api/variables.rb
View file @
9e701ccd
...
@@ -18,7 +18,7 @@ module API
...
@@ -18,7 +18,7 @@ module API
present
paginate
(
variables
),
with:
Entities
::
Variable
present
paginate
(
variables
),
with:
Entities
::
Variable
end
end
# Get specific
a
variable of a project
# Get specific variable of a project
#
#
# Parameters:
# Parameters:
# id (required) - The ID of a project
# id (required) - The ID of a project
...
@@ -80,7 +80,7 @@ module API
...
@@ -80,7 +80,7 @@ module API
# Parameters:
# Parameters:
# id (required) - The ID of a project
# id (required) - The ID of a project
# key (required) - The ID of a variable
# key (required) - The ID of a variable
# Exa
noke Reqy
est:
# Exa
mple Requ
est:
# DELETE /projects/:id/variables/:key
# DELETE /projects/:id/variables/:key
delete
':id/variables/:key'
do
delete
':id/variables/:key'
do
variable
=
user_project
.
variables
.
find_by
(
key:
params
[
:key
].
to_s
)
variable
=
user_project
.
variables
.
find_by
(
key:
params
[
:key
].
to_s
)
...
...
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