diff --git a/src/SxBootstrap/View/Helper/Bootstrap/FlashMessenger.php b/src/SxBootstrap/View/Helper/Bootstrap/FlashMessenger.php
index <HASH>..<HASH> 100644
--- a/src/SxBootstrap/View/Helper/Bootstrap/FlashMessenger.php
+++ b/src/SxBootstrap/View/Helper/Bootstrap/FlashMessenger.php
@@ -28,7 +28,7 @@ class FlashMessenger extends AbstractHelper
      * @param bool $isBlock
      * @return string
      */
-    public function render($namespace = null, $isBlock = false)
+    public function __invoke($namespace = null, $isBlock = false)
     {
         if($namespace) {
             $messagesToPrint = $this->view->flashMessenger()->render($namespace);
change render to invoke method in flashmessenger view helper