Commit e417d755 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Eager load group projects to avoid N SQL queries.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3735 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0fa124a9
......@@ -57,7 +57,7 @@ class GroupsController < ApplicationController
# GET /groups/1/edit
def edit
@group = Group.find(params[:id])
@group = Group.find(params[:id], :include => :projects)
end
# POST /groups
......
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