14 lines
215 B
Ruby
14 lines
215 B
Ruby
|
module NewAdministrateur
|
||
|
class ServicesController < AdministrateurController
|
||
|
def index
|
||
|
@services = services
|
||
|
end
|
||
|
|
||
|
private
|
||
|
|
||
|
def services
|
||
|
current_administrateur.services
|
||
|
end
|
||
|
end
|
||
|
end
|