Merge branch 'rails5-fix-48142' into 'master'
Rails5 fix Admin::HooksController Closes #48142 See merge request gitlab-org/gitlab-ce!20017
This commit is contained in:
commit
1a0ee66275
|
@ -9,7 +9,7 @@ class Admin::HooksController < Admin::ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
@hook = SystemHook.new(hook_params)
|
||||
@hook = SystemHook.new(hook_params.to_h)
|
||||
|
||||
if @hook.save
|
||||
redirect_to admin_hooks_path, notice: 'Hook was successfully created.'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Rails5 fix Admin::HooksController
|
||||
merge_request: 20017
|
||||
author: Jasper Maes
|
||||
type: fixed
|
Loading…
Reference in New Issue