Skip to content
Snippets Groups Projects
Commit f6bdd3ea authored by Sean Arnold's avatar Sean Arnold :speech_balloon:
Browse files

Move issue_type back to base params

parent 93872da0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment