From 25619e5e01a55e2da90d71e092d4bc416dd4d421 Mon Sep 17 00:00:00 2001 From: Zanz2 Date: Mon, 2 Apr 2018 20:02:59 +0200 Subject: [PATCH] Overlooked a small change --- app/controllers/protocols_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/protocols_controller.rb b/app/controllers/protocols_controller.rb index 3d9308618..11158eba6 100644 --- a/app/controllers/protocols_controller.rb +++ b/app/controllers/protocols_controller.rb @@ -645,6 +645,7 @@ class ProtocolsController < ApplicationController @json_object['steps'] ) end + @protocol = Protocol.new respond_to do |format| format.js {} # go to the js.erb file named the same as this controller,