Commit 6f68a366 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Eager-load users.

git-svn-id: svn+ssh:// e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 79c33bbc
......@@ -98,7 +98,8 @@ class RepositoriesController < ApplicationController
@changesets = @repository.changesets.find(:all,
:limit => @changeset_pages.items_per_page,
:offset => @changeset_pages.current.offset)
:offset => @changeset_pages.current.offset,
:include => :user)
respond_to do |format|
format.html { render :layout => false if request.xhr? }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment