diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-04 11:18:13 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-04 11:18:41 +0200 |
commit | 7f6bbf06f8d94f7e3830567167332ca2a42c4573 (patch) | |
tree | 753826e1e27c51d5c2bad1400daf1689c38c4c7c /app/controllers/dashboard_controller.rb | |
parent | 87e0429fb19426ecd33142a207a39245f719217e (diff) | |
download | gitlab-ce-7f6bbf06f8d94f7e3830567167332ca2a42c4573.tar.gz |
Fix bug getting started message when navigate to personal projects w/o them exist
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r-- | app/controllers/dashboard_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 461dd51b570..1fcadbfefba 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -7,6 +7,8 @@ class DashboardController < ApplicationController def index @groups = current_user.authorized_groups + @has_authorized_projects = @projects.count > 0 + @projects = case params[:scope] when 'personal' then @projects.personal(current_user) |