Fix bug getting started message when navigate to personal projects w/o them exist
This commit is contained in:
parent
87e0429fb1
commit
7f6bbf06f8
6 changed files with 48 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue