Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 09:39:13 +08:00
parent dbe9f0fbba
commit dfcc7bcaa3
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ class PersonalJournalsController < ApplicationController
"extras" => {"widget-title" => t("module_name.journal_paper")}, "extras" => {"widget-title" => t("module_name.journal_paper")},
"total_pages" => journal_papers.total_pages, "total_pages" => journal_papers.total_pages,
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show}, "choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
"url" => "/"+params[:locale]+params[:url] "url" => "/"+params[:locale]+params[:url],
"all" => Mongoid::Sessions.default[:journal_papers].find()
} }
end end