Commit b1fe739a5bf829913d37e7ed0c2f5fb701e67b5d
1 parent
1c7cb82a
Exists in
master
and in
1 other branch
Revert "sort apps by name"
This reverts commit 644116d884df846f633ee0d213fab94138e80465.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/apps_controller.rb
@@ -9,7 +9,7 @@ class AppsController < ApplicationController | @@ -9,7 +9,7 @@ class AppsController < ApplicationController | ||
9 | expose(:app_scope) { App } | 9 | expose(:app_scope) { App } |
10 | 10 | ||
11 | expose(:apps) { | 11 | expose(:apps) { |
12 | - app_scope.asc(:name).map { |app| AppDecorator.new(app) } | 12 | + app_scope.all.sort.map { |app| AppDecorator.new(app) } |
13 | } | 13 | } |
14 | 14 | ||
15 | expose(:app, ancestor: :app_scope, attributes: :app_params) | 15 | expose(:app, ancestor: :app_scope, attributes: :app_params) |