Update personal_journals_controller.rb
This commit is contained in:
parent
61d688c498
commit
52e655ba7f
|
@ -66,7 +66,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
"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" => "/"+OrbitHelper.params[:locale]+OrbitHelper.params[:url],
|
"url" => "/"+OrbitHelper.params[:locale]+OrbitHelper.params[:url],
|
||||||
"all" => journal_papers.all.methods()
|
"all" => journal_papers.all.take(journal_papers.all.count)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue