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