Commit 1fb1d845 authored by jplang's avatar jplang

Reverts change made to ProjectController in r16766 (#26376).

git-svn-id: https://svn.redmine.org/redmine/trunk@16768 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 481e07a2
......@@ -147,6 +147,7 @@ class ProjectsController < ApplicationController
end
@users_by_role = @project.users_by_role
@subprojects = @project.children.visible.to_a
@news = @project.news.limit(5).includes(:author, :project).reorder("#{News.table_name}.created_on DESC").to_a
@trackers = @project.rolled_up_trackers.visible
......@@ -159,8 +160,6 @@ class ProjectsController < ApplicationController
@total_hours = TimeEntry.visible.where(cond).sum(:hours).to_f
end
@subprojects = @project.children.visible.to_a
@key = User.current.rss_key
respond_to do |format|
......
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