forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
94dece3e4f
commit
49479d4587
|
@ -1,5 +1,6 @@
|
||||||
class PersonalJournalsController < ApplicationController
|
class PersonalJournalsController < ApplicationController
|
||||||
def index
|
def index
|
||||||
|
ENV['all_root'] = Rails.root
|
||||||
params = OrbitHelper.params
|
params = OrbitHelper.params
|
||||||
page_data_count = OrbitHelper.page_data_count
|
page_data_count = OrbitHelper.page_data_count
|
||||||
journal_papers = JournalPaper.where(is_hidden: false).sort_for_frontend.page(OrbitHelper.params[:page_no]).per(page_data_count)
|
journal_papers = JournalPaper.where(is_hidden: false).sort_for_frontend.page(OrbitHelper.params[:page_no]).per(page_data_count)
|
||||||
|
|
Loading…
Reference in New Issue