From b1fe739a5bf829913d37e7ed0c2f5fb701e67b5d Mon Sep 17 00:00:00 2001 From: Stephen Crosby Date: Tue, 20 Oct 2015 14:14:28 -0700 Subject: [PATCH] Revert "sort apps by name" --- app/controllers/apps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/apps_controller.rb b/app/controllers/apps_controller.rb index 1cfcb67..92ceeb0 100644 --- a/app/controllers/apps_controller.rb +++ b/app/controllers/apps_controller.rb @@ -9,7 +9,7 @@ class AppsController < ApplicationController expose(:app_scope) { App } expose(:apps) { - app_scope.asc(:name).map { |app| AppDecorator.new(app) } + app_scope.all.sort.map { |app| AppDecorator.new(app) } } expose(:app, ancestor: :app_scope, attributes: :app_params) -- libgit2 0.21.2