Update personal_journals_controller.rb
This commit is contained in:
parent
dfcc7bcaa3
commit
246fb55db4
|
@ -71,7 +71,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" => "/"+params[:locale]+params[:url],
|
"url" => "/"+params[:locale]+params[:url],
|
||||||
"all" => Mongoid::Sessions.default[:journal_papers].find()
|
"all" => Mongoid::Sessions.default[:journal_papers].find().take(2)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue