Fix markup

This commit is contained in:
aignatov-bio 2019-11-21 12:19:47 +01:00
parent f2ed3198d5
commit 0b04ca4012
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
/* global PerfectScrollbar activePSB PerfectSb I18n */
/* eslint-disable no-unused-vars, no-use-before-define */
/*
/*
Data options for SELECT:
data-ajax-url // Url for GET ajax request

View file

@ -173,7 +173,7 @@ class ProtocolsController < ApplicationController
if @protocol.update_keywords(params[:keywords])
format.json do
log_activity(:edit_keywords_in_protocol_repository, nil, protocol: @protocol.id)
render json: {status: :ok}
render json: { status: :ok }
end
else
format.json { render json: {}, status: :unprocessable_entity }