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 ...@@ -65,8 +65,8 @@ module Issues
private private
def whitelisted_issue_params def whitelisted_issue_params
base_params = [:title, :description, :confidential] base_params = [:title, :description, :confidential, :issue_type]
admin_params = [:milestone_id, :issue_type] admin_params = [:milestone_id]
if can?(current_user, :admin_issue, project) if can?(current_user, :admin_issue, project)
params.slice(*(base_params + admin_params)) 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