mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Conflicts remaining: - app/controllers/groups/group_members_controller.rb - app/controllers/projects/project_members_controller.rb - app/models/ability.rb - app/models/member.rb - app/models/project.rb
20 lines
370 B
Ruby
20 lines
370 B
Ruby
class Dashboard::MilestonesController < Dashboard::ApplicationController
|
|
include GlobalMilestones
|
|
|
|
before_action :projects
|
|
before_action :milestones, only: [:index]
|
|
before_action :milestone, only: [:show]
|
|
|
|
def index
|
|
end
|
|
|
|
def show
|
|
end
|
|
|
|
private
|
|
|
|
def projects
|
|
@projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
|
|
end
|
|
end
|