From 0affc7337034f42771e7fbd1968378d9feb48a45 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 cbc88176..60b686f0 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