Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 09:43:47 +08:00
parent 17667d189d
commit ab799420b0
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class PersonalJournalsController < ApplicationController
"paper_title" "paper_title"
] ]
end end
if !params.selectbox.nil? if params.selectbox !=nil
# journal_papers = Mongoid::Sessions.default[:journal_papers].find() # journal_papers = Mongoid::Sessions.default[:journal_papers].find()
# journal_papers_count = journal_papers.count # journal_papers_count = journal_papers.count
# journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count) # journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count)