Update journal_papers_controller.rb
This commit is contained in:
parent
fe17ec215b
commit
09151df374
|
@ -10,7 +10,10 @@ class Admin::JournalPapersController < OrbitMemberController
|
||||||
before_action :need_access_right
|
before_action :need_access_right
|
||||||
before_action :allow_admin_only, :only => [:index, :setting]
|
before_action :allow_admin_only, :only => [:index, :setting]
|
||||||
def merge_process
|
def merge_process
|
||||||
puts ['id1',params['journal_id']]
|
params['journal_id'].each do |journal_id|
|
||||||
|
journal_ids = journal_id.split('/')
|
||||||
|
puts JournalPaper.find(journal_ids)
|
||||||
|
end
|
||||||
redirect_to :action=> 'index'
|
redirect_to :action=> 'index'
|
||||||
end
|
end
|
||||||
def merge
|
def merge
|
||||||
|
|
Loading…
Reference in New Issue