diff --git a/Controller/Router.php b/Controller/Router.php index e6a561c..f7d90e8 100644 --- a/Controller/Router.php +++ b/Controller/Router.php @@ -115,7 +115,7 @@ protected function _getRouteSettings($magazine, $path, \Magento\Framework\App\Re protected function _getRequestPath(\Magento\Framework\App\RequestInterface $request) { - return trim($request->getRequestString(), '/'); + return trim($request->getPathInfo(), '/'); } /** diff --git a/Helper/Config.php b/Helper/Config.php index 768f2e6..87813d2 100644 --- a/Helper/Config.php +++ b/Helper/Config.php @@ -366,7 +366,7 @@ public function getLanguageCode() */ public function getPluginVersion() { - return "2.1.2"; + return "2.1.3"; } /** diff --git a/README.md b/README.md index 9981c1f..edd013c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Requires: * PHP >= 5.4 -* Magento 2, for our Magento 1 plugin check this https://github.com/styladev/magentoStylaConnect2 +* Magento 2, for our Magento 1 plugin check this https://github.com/styladev/magentoStylaConnect * Magento REST API activated to share product information http://devdocs.magento.com/guides/v2.0/rest/bk-rest.html Styla Connect is a module to connect your Magento 2 Store with [Styla](http://www.styla.com/) by embedding Styla content on a specific path and providing a source of product data. [This documentation page](https://docs.styla.com/) should provide you an overview of how Styla works in general. diff --git a/composer.json b/composer.json index 8a9029c..9c80297 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "styla/magento2-connect", "description": "A Magento 2 Styla Magazine support", "type": "magento2-module", - "version": "2.1.2", + "version": "2.1.3", "require": { "php": ">=5.5" },