diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-01 10:13:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-01 10:13:01 +0000 |
commit | 7a03cf92ba62a2aa4c299741bcb8401eefda1c9b (patch) | |
tree | bd0edcf338b0522e815b009509b675bad287b2f3 /app/controllers/welcome_controller.rb | |
parent | e6fa690d65253be4c97188d0df7efd16306d5f78 (diff) | |
download | redmine-7a03cf92ba62a2aa4c299741bcb8401eefda1c9b.tar.gz redmine-7a03cf92ba62a2aa4c299741bcb8401eefda1c9b.zip |
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
Diffstat (limited to 'app/controllers/welcome_controller.rb')
-rw-r--r-- | app/controllers/welcome_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index c47198d51..ce45076d5 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -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 |