mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 13:16:09 +10:00
7 lines
214 B
Ruby
7 lines
214 B
Ruby
class DashboardController < ApplicationController
|
|
def index
|
|
@projects = current_user.projects.all
|
|
@active_projects = @projects.select(&:last_activity_date).sort_by(&:last_activity_date).reverse
|
|
end
|
|
end
|