Update personal_journals_controller.rb
This commit is contained in:
parent
d24928dd25
commit
7aa7239c0a
|
@ -1,7 +1,7 @@
|
||||||
class PersonalJournalsController < ApplicationController
|
class PersonalJournalsController < ApplicationController
|
||||||
def index
|
def index
|
||||||
ENV['all_root'] = Rails.root
|
ENV['all_root'] = Rails.root
|
||||||
puts ENV['all_root']
|
puts 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