/**
* @return void
*/
public function indexAction(Request
$request, ShopContextInterface
$shopContext) { $requestCategoryId =
(int) $request->
getParam('sCategory'
);
$categoryContent =
$this->
loadCategoryContent($requestCategoryId,
$request);
$emotionConfiguration =
$this->
getEmotionConfiguration( $requestCategoryId,
false,
$categoryContent['streamId'
] );
$location =
$this->
getRedirectLocation($categoryContent,
$emotionConfiguration['hasEmotion'
],
$shopContext);
if (\
is_string($location)) { $this->
redirect($location,
['code' => Response::HTTP_MOVED_PERMANENTLY
]);
return;
}