debian-mirror-gitlab/app/controllers/dashboard/milestones_controller.rb

20 lines
370 B
Ruby
Raw Normal View History

2015-09-11 14:41:01 +05:30
class Dashboard::MilestonesController < Dashboard::ApplicationController
2015-11-26 14:37:03 +05:30
include GlobalMilestones
before_action :projects
before_action :milestones, only: [:index]
before_action :milestone, only: [:show]
2015-04-26 12:48:37 +05:30
def index
end
def show
end
private
2015-11-26 14:37:03 +05:30
def projects
@projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
2015-04-26 12:48:37 +05:30
end
end