Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 09:05:08 +08:00
parent 61d688c498
commit 52e655ba7f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class PersonalJournalsController < ApplicationController
"total_pages" => journal_papers.total_pages,
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
"url" => "/"+OrbitHelper.params[:locale]+OrbitHelper.params[:url],
"all" => journal_papers.all.methods()
"all" => journal_papers.all.take(journal_papers.all.count)
}
end