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

21 lines
417 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 :milestone, only: [:show]
2015-04-26 12:48:37 +05:30
def index
2016-06-02 11:05:42 +05:30
respond_to do |format|
format.html do
@milestones = Kaminari.paginate_array(milestones).page(params[:page])
end
format.json do
render json: milestones
end
end
2015-04-26 12:48:37 +05:30
end
def show
end
end