application_controller.rb 204 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 class Dashboard::ApplicationController < ApplicationController layout 'dashboard' private def projects @projects ||= current_user.authorized_projects.sorted_by_activity.non_archived end end