diff options
Diffstat (limited to 'app/controllers/labels_controller.rb')
| -rw-r--r-- | app/controllers/labels_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/labels_controller.rb b/app/controllers/labels_controller.rb index cb332a45ed2..0e78cecf4d1 100644 --- a/app/controllers/labels_controller.rb +++ b/app/controllers/labels_controller.rb @@ -7,11 +7,11 @@ class LabelsController < ProjectResourceController respond_to :js, :html def index - @labels = @project.issues_labels.order('count DESC') + @labels = @project.issues_labels end def generate - Gitlab::Labels.generate(@project) + Gitlab::IssuesLabels.generate(@project) redirect_to project_labels_path(@project) end |
