delete fixed

This commit is contained in:
Harry Bomrah committed 2012-11-23 13:22:01 +08:00
1 parent 8009c6aa34
commit 3933c048b0
2 files changed
+8 -4

No files matched your search

@@ -83,6 +83,7 @@ class Desktop::JournalPagesController < ApplicationController
def destroy
@writing_journal = WritingJournal.find(params[:id])
@writing_journal.destroy
render :json => {success: true,msg: "Paper deleted successfully!"}
end
def get_journals_json