Commit d9fa6fcd authored by Oulahal Said's avatar Oulahal Said Committed by Guillaume Perréal

Deprecated: correction pour rendre le contrôleur public suite evolution symfony 3.4

parent 58d7ccdf
parameters:
irstea_file_upload.entity: Irstea\FileUploadBundle\Entity\UploadedFile
irstea_file_upload.upload_controller.class: Irstea\FileUploadBundle\Controller\UploadController
irstea_file_upload.entity_listener.class: Irstea\FileUploadBundle\Listener\UploadedFileListener
irstea_file_upload.creation_data_listener.class: Irstea\FileUploadBundle\Listener\CreationDataListener
irstea_file_upload.field_type.class: Irstea\FileUploadBundle\Form\Type\FileUploadType
......@@ -30,14 +29,17 @@ services:
- { name: monolog.logger, channel: irstea_file_upload }
# Le contrôleur qui gère les uploads
irstea_file_upload.upload_controller:
class: "%irstea_file_upload.upload_controller.class%"
Irstea\FileUploadBundle\Controller\UploadController:
public: false
arguments:
- "@irstea_file_upload.file_manager"
- "@router"
- "@security.csrf.token_manager"
- "@security.token_storage"
- "@templating"
irstea_file_upload.upload_controller:
alias: Irstea\FileUploadBundle\Controller\UploadController
public: true
# Type de champ
irstea_file_upload.field_type:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment