Enforce order on authorized applications page (#7587)

Fix #7586
This commit is contained in:
Eugen Rochko 2018-05-22 14:44:53 +02:00 committed by GitHub
parent ff98de966f
commit fd007264dc

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