Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 15:23:16 +08:00
parent b70f60243e
commit 282a99ba56
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class PersonalJournalsController < ApplicationController
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
"url" => "/"+params[:locale]+params[:url],
"all" => journal_papers_show,
"all_n" => JournalPaper.where(:is_hidden=>false).take(100)
"all_n" => JournalPaper.where(:is_hidden=>false).count
}
end