1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-03-26 21:30:48 -04:00

Enforce order on authorized applications page ()

Fix 
This commit is contained in:
Eugen Rochko 2018-05-22 14:44:53 +02:00 committed by GitHub
parent 4eeda67727
commit 36e47a31e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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