parent
ab03e70c5c
commit
cbeeb84a74
@ -1,5 +1,6 @@
|
||||
class Ecs::GraduationSubitemsController < Ecs::BaseController
|
||||
def index
|
||||
@graduation_subitems = current_year.ec_graduation_subitems#.reorder('ec_graduation_requirements.position ASC, ec_graduation_subitems.position ASC')
|
||||
subitems = current_year.ec_graduation_subitems.reorder('ec_graduation_requirements.position ASC, ec_graduation_subitems.position ASC')
|
||||
@graduation_subitems = subitems.includes(:ec_graduation_requirement)
|
||||
end
|
||||
end
|
Loading…
Reference in new issue