Sha256: aa8737bcd8846887658d34a9cc3b9d2634c3fb280d39a9a5875c9ef848e7f6fc

Contents?: true

Size: 343 Bytes

Versions: 29

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  class OperationsController < ApplicationController
    load_and_authorize_resource

    def index
      @operations = @operations.where(parent_id: nil)
                               .order(updated_at: :desc)
                               .page(params[:page])
    end

    def show; end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.4 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.3 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.2 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.1 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.0 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.0.rc3 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.0.rc2 app/controllers/hyrax/operations_controller.rb
hyrax-5.0.0.rc1 app/controllers/hyrax/operations_controller.rb
hyrax-3.6.0 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0.rc3 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0.rc2 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0.rc1 app/controllers/hyrax/operations_controller.rb
hyrax-3.5.0 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0.beta2 app/controllers/hyrax/operations_controller.rb
hyrax-3.4.2 app/controllers/hyrax/operations_controller.rb
hyrax-4.0.0.beta1 app/controllers/hyrax/operations_controller.rb
hyrax-3.4.1 app/controllers/hyrax/operations_controller.rb
hyrax-3.4.0 app/controllers/hyrax/operations_controller.rb