From dfcc7bcaa321f105a59d6dbe00e8c4b774a29e0e Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 13 Aug 2019 09:39:13 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 06ab60d..32b1eac 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -70,7 +70,8 @@ class PersonalJournalsController < ApplicationController "extras" => {"widget-title" => t("module_name.journal_paper")}, "total_pages" => journal_papers.total_pages, "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