Update personal_journals_controller.rb
This commit is contained in:
parent
dbe9f0fbba
commit
dfcc7bcaa3
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue