File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ public function getControllerName($route, $skip = true)
142142 */
143143 public function getBaseUrl ()
144144 {
145- $ url = $ this ->_url ->getUrl ($ this ->getBasePath ());
145+ $ url = $ this ->_url ->getUrl ($ this ->getBasePath (), [
146+ '_nosid ' => $ this ->storeId ?: null
147+ ]);
146148 $ url = $ this ->trimSlash ($ url );
147149 return $ url ;
148150 }
@@ -156,9 +158,9 @@ public function getBaseUrl()
156158 public function getUrl ($ identifier , $ controllerName )
157159 {
158160 $ url = $ this ->_url ->getUrl ('' , [
159- '_direct ' => $ this ->getUrlPath ($ identifier , $ controllerName )
161+ '_direct ' => $ this ->getUrlPath ($ identifier , $ controllerName ),
162+ '_nosid ' => $ this ->storeId ?: null
160163 ]);
161-
162164 return $ url ;
163165 }
164166
You can’t perform that action at this time.
0 commit comments