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
Léo-Paul Géneau
gitlab-ce
Commits
eb5e0e92
Commit
eb5e0e92
authored
Dec 18, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing permitted param
parent
faadd9e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/controllers/admin/hooks_controller.rb
app/controllers/admin/hooks_controller.rb
+1
-0
spec/controllers/admin/hooks_controller_spec.rb
spec/controllers/admin/hooks_controller_spec.rb
+1
-0
No files found.
app/controllers/admin/hooks_controller.rb
View file @
eb5e0e92
...
...
@@ -62,6 +62,7 @@ class Admin::HooksController < Admin::ApplicationController
:push_events
,
:tag_push_events
,
:repository_update_events
,
:merge_requests_events
,
:token
,
:url
)
...
...
spec/controllers/admin/hooks_controller_spec.rb
View file @
eb5e0e92
...
...
@@ -14,6 +14,7 @@ describe Admin::HooksController do
push_events:
true
,
tag_push_events:
true
,
repository_update_events:
true
,
merge_requests_events:
true
,
token:
"TEST TOKEN"
,
url:
"http://example.com"
}
...
...
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