BigW Consortium Gitlab

milestones_controller.rb 370 Bytes
Newer Older
1
class Dashboard::MilestonesController < Dashboard::ApplicationController
2 3 4 5 6
  include GlobalMilestones

  before_action :projects
  before_action :milestones, only: [:index]
  before_action :milestone, only: [:show]
Douwe Maan committed
7 8 9 10 11 12 13 14 15

  def index
  end

  def show
  end

  private

16 17
  def projects
    @projects ||= current_user.authorized_projects.sorted_by_activity.non_archived
Douwe Maan committed
18 19
  end
end