summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-02 18:42:13 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 11:59:49 -0500
commit4ac907ee77784006b32a6c918792d3a82a0bb5c8 (patch)
tree68941c4255286b7ee53615df56fc308770e87b78
parentd4bcf51692122abaef1272fe80e8897b5be0f178 (diff)
downloadgitlab-ce-4ac907ee77784006b32a6c918792d3a82a0bb5c8.tar.gz
typo
-rw-r--r--app/models/label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index e4fc4f251d8..aed74d0bde1 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -33,7 +33,7 @@ class Label < ActiveRecord::Base
scope :templates, -> { where(template: true) }
def self.prioritized
- where.not(priority: nil).reorder(Gitlab::Database.nulls_last_order(:priority), :title)
+ where.not(priority: nil).reorder(Gitlab::Database.nulls_last_order(:priority), :title)
end
def self.unprioritized