fixed: non public projects were shown on welcome screen even if current user is not a member

git-svn-id: http://redmine.rubyforge.org/svn/trunk@129 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-01-01 10:13:01 +00:00
parent e6fa690d65
commit 7a03cf92ba
3 changed files with 17 additions and 8 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ class WelcomeController < ApplicationController
layout 'base'
def index
@news = News.latest
@projects = Project.latest
@news = News.latest logged_in_user
@projects = Project.latest logged_in_user
end
end