Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-01 21:35:32 +08:00
parent 8cad66c942
commit 2c4db5a90b
1 changed files with 1 additions and 1 deletions

View File

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