lil restyle

This commit is contained in:
Dmitriy Zaporozhets 2012-01-11 09:35:21 +02:00
parent c66bc99fb7
commit c8b955a44b
15 changed files with 71 additions and 61 deletions

View file

@ -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