lil restyle
This commit is contained in:
parent
c66bc99fb7
commit
c8b955a44b
15 changed files with 71 additions and 61 deletions
|
@ -3,7 +3,7 @@ class DashboardController < ApplicationController
|
|||
|
||||
def index
|
||||
@projects = current_user.projects.all
|
||||
@active_projects = @projects.select(&:last_activity_date_cached).sort_by(&:last_activity_date_cached).reverse
|
||||
@active_projects = @projects.select(&:repo_exists?).select(&:last_activity_date_cached).sort_by(&:last_activity_date_cached).reverse
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue