Skip to content
Snippets Groups Projects
Unverified Commit ca2493bf authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix

parent df854209
No related branches found
No related tags found
No related merge requests found
class Admin::Research::ResearchersController < Admin::Research::ApplicationController
has_scope :for_search_term
def index
@researchers = apply_scopes(current_university.people.researchers.accessible_by(current_ability)).ordered.page(params[:page])
breadcrumb
......@@ -9,7 +9,7 @@ class Admin::Research::ResearchersController < Admin::Research::ApplicationContr
def show
@researcher = current_university.people.researchers.accessible_by(current_ability).find(params[:id])
@articles = @researcher.research_journal_articles.ordered.page(params[:page])
@papers = @researcher.research_journal_papers.ordered.page(params[:page])
breadcrumb
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment