yii2support icon indicating copy to clipboard operation
yii2support copied to clipboard

Failed to resolve view file with aliase

Open malsatin opened this issue 5 years ago • 0 comments

What steps will reproduce the problem?

Define custom asias

[
    '@views' => '@frontend/views_new',
]

Try to render some element in layout

<?= $this->render('@views/layouts/elements/header') ?>

What is the expected result?

View path is resolved correctly. No error

What do you get instead?

image

Additional info

Q A
IDE Name PhpStorm
IDE Version PhpStorm 2019.1 Build #PS-191.6183.95
Plugin version v0.10.57.23
Yii App Template advanced

malsatin avatar Apr 08 '19 16:04 malsatin