diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 93a8318..06ab60d 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -21,9 +21,9 @@ class PersonalJournalsController < ApplicationController ] end #if params.selectbox.nil? - journal_papers = Mongoid::Sessions.default[:journal_papers].find() - journal_papers_count = journal_papers.count - journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count) + # journal_papers = Mongoid::Sessions.default[:journal_papers].find() + # journal_papers_count = journal_papers.count + # journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count) #else journal_paper_list = [] journal_papers.each do |journal_paper|