diff options
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 |