Take out n-query on home page
This commit is contained in:
parent
770091e82b
commit
685130cbd4
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class AspectsController < ApplicationController
|
|||
@selected_contacts.uniq!
|
||||
else
|
||||
@aspects = current_user.aspects.includes(:contacts => {:person => :profile})
|
||||
@selected_contacts = current_user.contacts
|
||||
@selected_contacts = current_user.contacts.includes(:person => :profile)
|
||||
end
|
||||
|
||||
# redirect to signup
|
||||
|
|
|
|||
Loading…
Reference in a new issue