forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
db2d0ea772
commit
3c8e66ddba
|
@ -47,6 +47,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
page_to_show = params[:page_no].to_i
|
page_to_show = params[:page_no].to_i
|
||||||
end
|
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_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
|
||||||
else
|
else
|
||||||
end
|
end
|
||||||
journal_paper_list = []
|
journal_paper_list = []
|
||||||
|
|
Loading…
Reference in New Issue