Class: Hyrax::OperationsController

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

Instance Method Summary collapse

Instance Method Details

#indexObject


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

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

#showObject


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

def show; end