forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
49479d4587
commit
d24928dd25
|
@ -1,6 +1,7 @@
|
|||
class PersonalJournalsController < ApplicationController
|
||||
def index
|
||||
ENV['all_root'] = Rails.root
|
||||
puts ENV['all_root']
|
||||
params = OrbitHelper.params
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue