Update journal_papers_controller.rb
This commit is contained in:
parent
4ec2479d21
commit
208c1b2d9b
|
@ -54,7 +54,11 @@ class Admin::JournalPapersController < OrbitMemberController
|
|||
@journals[key].delete key1
|
||||
end
|
||||
end
|
||||
if @journals[key].length==0
|
||||
@journals.delete key
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
def index
|
||||
|
|
Loading…
Reference in New Issue