mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Fix n+1 query in apps controller
This commit is contained in:
parent
e5eecba33e
commit
8481e780aa
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ class AppsController < ApplicationController
|
|||
|
||||
def index
|
||||
authorize App
|
||||
@apps = App.where(organization: @current_user.organization).order('created_at desc')
|
||||
@apps = App.where(organization: @current_user.organization).order('created_at desc').includes(:user)
|
||||
end
|
||||
|
||||
def create
|
||||
|
|
|
|||
Loading…
Reference in a new issue