Skip to content

Commit

Permalink
Update controller action reference syntax comur#123
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Thomas committed May 10, 2020
1 parent d0aa420 commit c54a82a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
comur_api_upload:
path: /upload #/{paramName}/{uploadUrl}/{webDir}/{minWidth}/{minHeight}
defaults: {_controller: "ComurImageBundle:Upload:uploadImage"}
defaults: {_controller: \Comur\ImageBundle\Controller\UploadController::uploadImageAction }
options:
expose: true

comur_api_crop:
path: /crop #/{uploadUrl}/{webDir}/{imageName}/{x}/{y}/{w}/{h}/{tarW}/{tarH}
defaults: {_controller: "ComurImageBundle:Upload:cropImage"}
defaults: {_controller: \Comur\ImageBundle\Controller\UploadController::cropImageAction }
options:
expose: true

comur_api_image_library:
path: /image-library
defaults: {_controller: "ComurImageBundle:Upload:getLibraryImages"}
defaults: {_controller: \Comur\ImageBundle\Controller\UploadController::getLibraryImagesAction }
options:
expose: true

0 comments on commit c54a82a

Please sign in to comment.