2015-04-30 17:06:18 +00:00
|
|
|
class Dashboard::ApplicationController < ApplicationController
|
2015-05-01 08:39:11 +00:00
|
|
|
layout 'dashboard'
|
2016-03-22 18:19:53 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def projects
|
|
|
|
@projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
|
|
|
|
end
|
2015-04-30 17:06:18 +00:00
|
|
|
end
|