Update journal_papers_controller.rb
This commit is contained in:
parent
7f1ec59a92
commit
2e195defad
|
@ -9,7 +9,8 @@ class Admin::JournalPapersController < OrbitMemberController
|
||||||
|
|
||||||
before_action :need_access_right
|
before_action :need_access_right
|
||||||
before_action :allow_admin_only, :only => [:index, :setting]
|
before_action :allow_admin_only, :only => [:index, :setting]
|
||||||
|
def merge
|
||||||
|
end
|
||||||
def index
|
def index
|
||||||
@writing_journals = JournalPaper.order_by(:year=>'desc').page(params[:page]).per(10)
|
@writing_journals = JournalPaper.order_by(:year=>'desc').page(params[:page]).per(10)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue