Welcome to mirror list, hosted at ThFree Co, Russian Federation.

events_controller.rb « admin « ci « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5939efff98048c2477568e699bd52ad031d761dc (plain)
1
2
3
4
5
6
7
8
9
module Ci
  class Admin::EventsController < Ci::Admin::ApplicationController
    EVENTS_PER_PAGE = 50

    def index
      @events = Ci::Event.admin.order('created_at DESC').page(params[:page]).per(EVENTS_PER_PAGE)
    end
  end
end