forked from saurabh/personal-journal
parent
66a80eacd0
commit
750eeac9a3
|
@ -116,7 +116,7 @@ class Admin::JournalPapersController < OrbitMemberController
|
||||||
def destroy
|
def destroy
|
||||||
@journal_paper.destroy
|
@journal_paper.destroy
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { redirect_to(admin_journal_paper_url) }
|
format.html { redirect_to(admin_journal_papers_url) }
|
||||||
# format.xml { head :ok }
|
# format.xml { head :ok }
|
||||||
format.js
|
format.js
|
||||||
format.json {render json: {"success" => true}}
|
format.json {render json: {"success" => true}}
|
||||||
|
|
Loading…
Reference in New Issue