Module: Sufia::FilesController::UploadCompleteBehavior

Included in:
Sufia::FilesControllerBehavior
Defined in:
app/controllers/concerns/sufia/files_controller/upload_complete_behavior.rb

Instance Method Summary collapse

Instance Method Details

#destroy_complete_path(_params) ⇒ Object



7
8
9
# File 'app/controllers/concerns/sufia/files_controller/upload_complete_behavior.rb', line 7

def destroy_complete_path(_params)
  Sufia::Engine.routes.url_helpers.dashboard_files_path
end

#upload_complete_path(batch_id) ⇒ Object



3
4
5
# File 'app/controllers/concerns/sufia/files_controller/upload_complete_behavior.rb', line 3

def upload_complete_path(batch_id)
  Sufia::Engine.routes.url_helpers.batch_edit_path(batch_id)
end