Skip to content
Snippets Groups Projects
Commit 1b06c6ba authored by Arnaud Levy's avatar Arnaud Levy
Browse files

order

parent e767aa5c
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ class Extranet::AcademicYearsController < Extranet::ApplicationController
def index
@academic_years = about&.academic_years
.ordered
.page(params[:page])
.per(20)
@count = @academic_years.total_count
......
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