@params = params.permit(:display_name, :friends, :nearby, :language)
- @entries, @newer_entries_id, @older_entries_id = get_page_items(entries, [:user, :language])
+ @entries, @newer_entries_id, @older_entries_id = get_page_items(entries, :includes => [:user, :language])
end
def show
@params = params.permit(:display_name, :before, :after)
- @comments, @newer_comments_id, @older_comments_id = get_page_items(comments, [:user])
+ @comments, @newer_comments_id, @older_comments_id = get_page_items(comments, :includes => [:user])
end
private