From 3e1e2c47ec2a6f18021d86f60c5776b2c5abcc68 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Mon, 3 Dec 2012 14:04:23 +0800 Subject: [PATCH] modify delete co-author message --- app/controllers/desktop/co_authors_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/desktop/co_authors_controller.rb b/app/controllers/desktop/co_authors_controller.rb index 53af8668..da332ce2 100644 --- a/app/controllers/desktop/co_authors_controller.rb +++ b/app/controllers/desktop/co_authors_controller.rb @@ -58,6 +58,6 @@ class Desktop::CoAuthorsController < ApplicationController @co_author = CoAuthor.find(params[:id]) @co_author.destroy - render :json => {success: true, msg: "Paper deleted successfully!"} + render :json => {success: true, msg: "Co-author deleted successfully!"} end end