From 978efa48c932ffb25db33cc4bdcc99a4f3d853b5 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 13 Aug 2019 10:07:15 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 19e5573..760ec06 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -26,6 +26,11 @@ class PersonalJournalsController < ApplicationController journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count) journal_papers_show = journal_papers_temp.select {|value| value[params[:selectbox]].include? params[:keywords]} { + "journal_papers" => journal_paper_list, + "headers" => "headers", + "extras" => {"widget-title" => "module_name.journal_paper"}, + "total_pages" => 1 + "choice" => 1 "all" => journal_papers_show } else