yii2-images
yii2-images copied to clipboard
enableStrictParsing define yii2images rule
Hi, I have in frontend config enableStrictParsing how can i define rule for yii2images module ?
something with this '/'.$this->getModule()->id.'/images/image-by-item-and-alias', any advices ?
'urlManager' => [
'scriptUrl'=>'/index.php',
'enablePrettyUrl' => true,
'showScriptName' => false,
'enableStrictParsing'=>true,
'baseUrl'=>$baseUrl,
'rules' => [
'news'=>'news/index',
'read/<slug:.+>'=>'news/slug'
],