mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 21:36:44 +08:00
Fix markup
This commit is contained in:
parent
f2ed3198d5
commit
0b04ca4012
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ class ProtocolsController < ApplicationController
|
||||||
if @protocol.update_keywords(params[:keywords])
|
if @protocol.update_keywords(params[:keywords])
|
||||||
format.json do
|
format.json do
|
||||||
log_activity(:edit_keywords_in_protocol_repository, nil, protocol: @protocol.id)
|
log_activity(:edit_keywords_in_protocol_repository, nil, protocol: @protocol.id)
|
||||||
render json: {status: :ok}
|
render json: { status: :ok }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
format.json { render json: {}, status: :unprocessable_entity }
|
format.json { render json: {}, status: :unprocessable_entity }
|
||||||
|
|
Loading…
Add table
Reference in a new issue