Update journal_papers_controller.rb

try fix
This commit is contained in:
chiu 2019-08-19 15:22:52 +08:00
parent 66a80eacd0
commit 750eeac9a3
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Admin::JournalPapersController < OrbitMemberController
def destroy
@journal_paper.destroy
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.js
format.json {render json: {"success" => true}}