Update personal_journals_controller.rb
This commit is contained in:
parent
fabd331bdf
commit
dd492dfc9d
|
@ -48,8 +48,7 @@ class PersonalJournalsController < ApplicationController
|
|||
else
|
||||
page_to_show = params[:page_no].to_i
|
||||
end
|
||||
journal_papers_show_last = journal_papers_show[(page_to_show-1)*OrbitHelper.page_data_count...page_to_show*OrbitHelper.page_data_count]
|
||||
journal_papers = journal_papers_show_last
|
||||
journal_papers = journal_papers_show[(page_to_show-1)*OrbitHelper.page_data_count...page_to_show*OrbitHelper.page_data_count]
|
||||
journal_papers_total_pages = (journal_papers_show.length/OrbitHelper.page_data_count.to_f).ceil
|
||||
timer = Time.now-t
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue