Browse Source

Enforce order on authorized applications page (#7587)

Fix #7586
pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
36e47a31e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/settings/applications_controller.rb

+ 1
- 1
app/controllers/settings/applications_controller.rb View File

@ -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

Loading…
Cancel
Save