diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-22 14:44:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 14:44:53 +0200 |
commit | 36e47a31e33a86c401c2aaf1f9788ca0c91bdec0 (patch) | |
tree | 3042a3c0de811217b239c90ad1b4a7ab5c1c8c49 /app | |
parent | 4eeda6772796bcd08b8c63ec2e1f3e68a95cbca4 (diff) |
Enforce order on authorized applications page (#7587)
Fix #7586
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/settings/applications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/applications_controller.rb b/app/controllers/settings/applications_controller.rb index 8fc9a0fa9..2a4962311 100644 --- a/app/controllers/settings/applications_controller.rb +++ b/app/controllers/settings/applications_controller.rb @@ -8,7 +8,7 @@ class Settings::ApplicationsController < ApplicationController before_action :prepare_scopes, only: [:create, :update] def index - @applications = current_user.applications.page(params[:page]) + @applications = current_user.applications.order(id: :desc).page(params[:page]) end def new |