Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@@ -9,7 +9,7 @@ class InvitesController < ApplicationController
|
||||
before_action :set_pack
|
||||
|
||||
def index
|
||||
authorize :invite, :index?
|
||||
authorize :invite, :create?
|
||||
|
||||
@invites = invites
|
||||
@invite = Invite.new(expires_in: 1.day.to_i)
|
||||
|
||||
@@ -6,7 +6,7 @@ class Settings::ApplicationsController < Settings::BaseController
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user