Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 09:40:23 +08:00
parent dfcc7bcaa3
commit 246fb55db4
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class PersonalJournalsController < ApplicationController
"total_pages" => journal_papers.total_pages,
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
"url" => "/"+params[:locale]+params[:url],
"all" => Mongoid::Sessions.default[:journal_papers].find()
"all" => Mongoid::Sessions.default[:journal_papers].find().take(2)
}
end