Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-02 14:30:53 +08:00
parent 65b52f07f8
commit b4b3d82865
1 changed files with 0 additions and 1 deletions

View File

@ -2,7 +2,6 @@ require 'rubyXL'
class Admin::JournalPapersController < OrbitMemberController class Admin::JournalPapersController < OrbitMemberController
include Admin::JournalPapersHelper include Admin::JournalPapersHelper
layout "member_plugin" layout "member_plugin"
protect_from_forgery with: :exception
before_action :set_journal_paper, only: [:show, :edit , :update, :destroy] before_action :set_journal_paper, only: [:show, :edit , :update, :destroy]
before_action :set_plugin before_action :set_plugin
before_action :get_settings,:only => [:new, :edit, :setting] before_action :get_settings,:only => [:new, :edit, :setting]