# Detail page ratingAction after hook not working

**URL:** <https://forum.shopware.com/t/detail-page-ratingaction-after-hook-not-working/56727>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [28. November 2018 um 06:58 UTC](https://forum.shopware.com/t/detail-page-ratingaction-after-hook-not-working/56727 "2018-11-28T06:58:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Palani\_S](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@Palani\_S](https://forum.shopware.com/u/Palani_S)\
**Post date:** [28. November 2018 um 06:58 UTC](https://forum.shopware.com/t/detail-page-ratingaction-after-hook-not-working/56727/1 "2018-11-28T06:58:03Z")

</div>

This one is correct or how to write a after hook for&nbsp;ratingAction.  
after and before hook not working except basket  
&nbsp;

"

Enlight\_Controller\_Action\_PreDispatch\_Frontend\_Detail::ratingAction::after

"
