Skip to content

Commit a020353

Browse files
author
Vitaliy Boyko
committed
Merge remote-tracking branch 'origin/web-api-checks' into web-api-checks
2 parents a44d905 + a0a3e39 commit a020353

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/com/magento/idea/magento2plugin/actions/generation/dialog/NewControllerDialog.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ private String getNamespace() {
241241
File.separator,
242242
Package.fqnSeparator
243243
);
244-
final String controllerPart = Package.fqnSeparator + getControllerName();
244+
final String controllerPart = getControllerName().replace(
245+
File.separator,
246+
Package.fqnSeparator
247+
);
245248

246249
return String.format(
247250
"%s%s%s%s%s%s",

0 commit comments

Comments
 (0)