forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
17667d189d
commit
ab799420b0
|
@ -20,7 +20,7 @@ class PersonalJournalsController < ApplicationController
|
|||
"paper_title"
|
||||
]
|
||||
end
|
||||
if !params.selectbox.nil?
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue