Commit 06969ef3 authored by Sean Arnold's avatar Sean Arnold

Move issue_type param to admin

parent a41fa5f8
......@@ -65,8 +65,8 @@ module Issues
private
def whitelisted_issue_params
base_params = [:title, :description, :confidential, :issue_type]
admin_params = [:milestone_id]
base_params = [:title, :description, :confidential]
admin_params = [:milestone_id, :issue_type]
if can?(current_user, :admin_issue, project)
params.slice(*(base_params + admin_params))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment