Sha256: e518f24ee5e8109850873562d864edfbab61910ca3a35825ddef4f61e320d38f

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

module Rhea
  class EventsController < Rhea::BaseController
    def index
      events = Rhea::Kubernetes::Events::Recent.new.perform
      @events = Kaminari.paginate_array(events).page(params[:page]).per(200)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rhea-0.2.0 app/controllers/rhea/events_controller.rb
rhea-0.1.0 app/controllers/rhea/events_controller.rb