diff --git a/app/controllers/desktop/co_author_relations_controller.rb b/app/controllers/desktop/co_author_relations_controller.rb
index bc3eb4515..f07cc07d1 100644
--- a/app/controllers/desktop/co_author_relations_controller.rb
+++ b/app/controllers/desktop/co_author_relations_controller.rb
@@ -25,7 +25,7 @@ class Desktop::CoAuthorRelationsController < ApplicationController
if @co_author_relation.save
newv = render_to_string partial: "show_form", object: @co_author_relations
- render json: {success: true, msg: "New Relation successfully saved!", newvalue: newvm}.to_json
+ render json: {success: true, msg: "New Relation successfully saved!", newvalue: newv}.to_json
else
error_msg = @co_author_relation.errors.full_messages.join("
")
render json: {success: false, msg: error_msg}.to_json
diff --git a/app/views/desktop/co_author_relations/index.html.erb b/app/views/desktop/co_author_relations/index.html.erb
index d457cbee2..d8b4451a2 100644
--- a/app/views/desktop/co_author_relations/index.html.erb
+++ b/app/views/desktop/co_author_relations/index.html.erb
@@ -1,14 +1,14 @@
\\n \"\n\n\n; _erbout.concat((h frames.first.filename.split(\"/\").last ).to_s); _erbout.concat \"
\"\n; _erbout.concat((h frames.first.function ).to_s); _erbout.concat \"\\n
\"\n; _erbout.concat((h frame.filename ).to_s); _erbout.concat \"
in\\n \"\n; _erbout.concat((h frame.function ).to_s); _erbout.concat \"
\\n \"\n; _erbout.concat((h line ).to_s); _erbout.concat \"
\"; _erbout.concat((\n h frame.context_line ).to_s); _erbout.concat \"
\"\n; _erbout.concat((h line ).to_s); _erbout.concat \"
Variable | \\nValue | \\n
---|---|
\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \" | \\n\"\n; _erbout.concat((h val.inspect ).to_s); _erbout.concat \" | \\n
No GET data.
\\n \"\n\n; end ; _erbout.concat \"\\n \\nVariable | \\nValue | \\n
---|---|
\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \" | \\n\"\n; _erbout.concat((h val.inspect ).to_s); _erbout.concat \" | \\n
No POST data.
\\n \"\n\n; end ; _erbout.concat \"\\n \\nVariable | \\nValue | \\n
---|---|
\"\n\n; _erbout.concat((h key ).to_s); _erbout.concat \" | \\n\"\n; _erbout.concat((h val ).to_s); _erbout.concat \" | \\n
You're seeing this error because you have\\nenabled the show_exceptions
setting.