modify delete co-author message
This commit is contained in:
parent
386f50e866
commit
3e1e2c47ec
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue