From 3d25da5db7d2ba5a035e89cc13185c13e74b4688 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Thu, 3 Nov 2016 14:15:22 +0100 Subject: [PATCH] Fixed bug with protocol loading from file [SCI-605] --- app/controllers/protocols_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/protocols_controller.rb b/app/controllers/protocols_controller.rb index 01f97ad93..7778d5c08 100644 --- a/app/controllers/protocols_controller.rb +++ b/app/controllers/protocols_controller.rb @@ -485,7 +485,7 @@ class ProtocolsController < ApplicationController message: I18n.t( 'activities.load_protocol_from_file', user: current_user.full_name, - protocol: @protocol_json.name + protocol: @protocol_json[:name] ) ) flash[:success] = t(