Module: Sufia::CollectionsControllerBehavior

Extended by:
ActiveSupport::Concern
Includes:
Hydra::CollectionsControllerBehavior
Included in:
CollectionsController
Defined in:
app/controllers/concerns/sufia/collections_controller_behavior.rb

Instance Method Summary collapse

Instance Method Details

#createObject



33
34
35
36
# File 'app/controllers/concerns/sufia/collections_controller_behavior.rb', line 33

def create
  super
  update_members_indices
end

#editObject



23
24
25
26
# File 'app/controllers/concerns/sufia/collections_controller_behavior.rb', line 23

def edit
  super
  form
end

#newObject



18
19
20
21
# File 'app/controllers/concerns/sufia/collections_controller_behavior.rb', line 18

def new
  super
  form
end

#showObject



28
29
30
31
# File 'app/controllers/concerns/sufia/collections_controller_behavior.rb', line 28

def show
  super
  presenter
end

#updateObject



38
39
40
41
# File 'app/controllers/concerns/sufia/collections_controller_behavior.rb', line 38

def update
  super
  update_members_indices
end