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