mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-08 12:56:27 +08:00
Fix error handling for items relationships destroy action [SCI-9718] (#6911)
This commit is contained in:
parent
a6c0c7294b
commit
5b365fce3b
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ class RepositoryRowConnectionsController < ApplicationController
|
||||||
|
|
||||||
connection.destroy!
|
connection.destroy!
|
||||||
head :no_content
|
head :no_content
|
||||||
rescue StandardError
|
|
||||||
head :unprocessable_entity
|
|
||||||
end
|
end
|
||||||
|
rescue StandardError
|
||||||
|
head :unprocessable_entity
|
||||||
end
|
end
|
||||||
|
|
||||||
def repositories
|
def repositories
|
||||||
|
|
Loading…
Add table
Reference in a new issue