diff --git a/Resources/doc/custom_logic.md b/Resources/doc/custom_logic.md
index 84af61e0..1163deea 100644
--- a/Resources/doc/custom_logic.md
+++ b/Resources/doc/custom_logic.md
@@ -33,7 +33,7 @@ And register it in your `services.xml`.
-
+
```
@@ -41,11 +41,12 @@ And register it in your `services.xml`.
You can now implement you custom logic in the `onUpload` method of your EventListener.
## Use custom input data
-FineUploader supports passing custom data through the request as the following examples states. For example you can pass the id of an entity you wish to paste the images to.
+Many of the supported frontends support passing custom data through the request. Here's an example for [FineUploader](frontend_fineuploader.md) sending an id of an Entity along the normal request.
```html
```
-As you can see, we extended the `request` part of the Fine Uploader by adding a `params` section. These variables are accessible through the request object in the EventHander.
+As you can see, we extended the `request` part of the FineUploader by adding a `params` section. These variables are accessible through the request object in the EventHander.
```php
public function onUpload(PostPersistEvent $event)
diff --git a/UploadEvents.php b/UploadEvents.php
index 6a9967b1..34e287c0 100644
--- a/UploadEvents.php
+++ b/UploadEvents.php
@@ -4,6 +4,6 @@
final class UploadEvents
{
- const POST_PERSIST = 'oneup.uploader.post.persist';
- const POST_UPLOAD = 'oneup.uploader.post.upload';
+ const POST_PERSIST = 'oneup_uploader.post_persist';
+ const POST_UPLOAD = 'oneup_uploader.post_upload';
}
\ No newline at end of file