mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Reverts change made to ProjectController in r16766 (#26376).
git-svn-id: http://svn.redmine.org/redmine/trunk@16768 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
92ca57e938
commit
3821b34a8b
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user