提交 221d2e3a 编写于 作者: A Alfredo Sumaran

Remove unnecesary param

上级 b0bfd789
......@@ -105,7 +105,7 @@ class Projects::LabelsController < Projects::ApplicationController
end
def label_params
params.require(:label).permit(:title, :description, :color, :priority)
params.require(:label).permit(:title, :description, :color)
end
def label
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册