Class: Hyrax::OperationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/hyrax/operations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/hyrax/operations_controller.rb', line 6

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

#showObject



12
# File 'app/controllers/hyrax/operations_controller.rb', line 12

def show; end