Commit f6bdd3ea authored by Sean Arnold's avatar Sean Arnold

Move issue_type back to base params

parent 93872da0
......@@ -65,8 +65,8 @@ module Issues
private
def whitelisted_issue_params
base_params = [:title, :description, :confidential]
admin_params = [:milestone_id, :issue_type]
base_params = [:title, :description, :confidential, :issue_type]
admin_params = [:milestone_id]
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