Skip to content

Commit 467a0d5

Browse files
committed
whitelist "mongodb.yml" for controller related files Haehnchen#298
1 parent 11611fe commit 467a0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fr/adrienbrault/idea/symfony2plugin/routing/YamlLineMarkerProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private void attachEntityClass(Collection<LineMarkerInfo> lineMarkerInfos, PsiEl
5353
}
5454

5555
String fileName = containingFile.getName();
56-
if(fileName.endsWith("orm.yml") || fileName.endsWith("odm.yml")) {
56+
if(fileName.endsWith("orm.yml") || fileName.endsWith("odm.yml") || fileName.endsWith("mongodb.yml")) {
5757
String keyText = ((YAMLKeyValue) psiElement).getKeyText();
5858
if(StringUtils.isNotBlank(keyText)) {
5959
PhpClass phpClass = PhpElementsUtil.getClass(psiElement.getProject(), keyText);

0 commit comments

Comments
 (0)