scm: controller: include parents in changesets (#5501)

Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7715 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-11-03 08:11:38 +00:00
parent 9129d116b2
commit e33ce24849
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class RepositoriesController < ApplicationController
@changesets = @repository.changesets.find(:all,
:limit => @changeset_pages.items_per_page,
:offset => @changeset_pages.current.offset,
:include => [:user, :repository])
:include => [:user, :repository, :parents])
respond_to do |format|
format.html { render :layout => false if request.xhr? }