diff --git a/src/components/Response.php b/src/components/Response.php
index <HASH>..<HASH> 100644
--- a/src/components/Response.php
+++ b/src/components/Response.php
@@ -25,4 +25,14 @@ class Response extends \yii\web\Response
 
         parent::sendContent();
     }
+
+    public function refresh($anchor = '')
+    {
+        $request = Yii::$app->request;
+        if ($request->getIsAjax()) {
+            return $this->redirect($request->getReferrer() . $anchor);
+        }
+
+        return parent::refresh($anchor);
+    }
 }
Fix. Ignore ajax request urls when redirect from hiam (#<I>)