modify delete co-author message
This commit is contained in:
parent
a6a50227eb
commit
0affc73370
|
@ -58,6 +58,6 @@ class Desktop::CoAuthorsController < ApplicationController
|
||||||
@co_author = CoAuthor.find(params[:id])
|
@co_author = CoAuthor.find(params[:id])
|
||||||
@co_author.destroy
|
@co_author.destroy
|
||||||
|
|
||||||
render :json => {success: true, msg: "Paper deleted successfully!"}
|
render :json => {success: true, msg: "Co-author deleted successfully!"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue