demarches-normaliennes/app/controllers/new_administrateur/services_controller.rb

14 lines
223 B
Ruby
Raw Normal View History

2018-04-19 16:15:44 +02:00
module NewAdministrateur
class ServicesController < AdministrateurController
def index
@services = services.ordered
2018-04-19 16:15:44 +02:00
end
private
def services
current_administrateur.services
end
end
end