forked from jasder/forgeplus
8 lines
248 B
Ruby
8 lines
248 B
Ruby
|
class Admins::MajorInformationsController < Admins::BaseController
|
||
|
|
||
|
def index
|
||
|
disciplines = EcDiscipline.includes(ec_discipline_firsts: {ec_majors: :schools}).order("ec_disciplines.code asc")
|
||
|
@disciplines = paginate disciplines
|
||
|
end
|
||
|
|
||
|
end
|