summaryrefslogtreecommitdiff
path: root/app/controllers/projects/labels_controller.rb
diff options
context:
space:
mode:
authorThijs Wouters <thijs@morewood.be>2016-03-14 10:46:26 +0100
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 11:59:49 -0500
commitd8263b285193d9163089683eb77825f1cd673b14 (patch)
tree4ecdabc6af9a09556fdb212488d381b43d20ae10 /app/controllers/projects/labels_controller.rb
parent0e2f26dd2a10ed876f96b0496dff2de6780eeaea (diff)
downloadgitlab-ce-d8263b285193d9163089683eb77825f1cd673b14.tar.gz
Sort by label priority
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r--app/controllers/projects/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb
index 88d745e6bae..0a60a802430 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -100,7 +100,7 @@ class Projects::LabelsController < Projects::ApplicationController
end
def label_params
- params.require(:label).permit(:title, :description, :color)
+ params.require(:label).permit(:title, :description, :color, :priority)
end
def label