Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce09f56

Browse filesBrowse files
committed
Add src directory to view paths
1 parent f0e076a commit ce09f56
Copy full SHA for ce09f56

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
140140
$transPaths[] = $this->defaultTransPath;
141141
}
142142
$viewsPaths = $this->viewsPaths;
143+
$viewsPaths[] = $kernel->getProjectDir().'/src';
143144
if ($this->defaultViewsPath) {
144145
$viewsPaths[] = $this->defaultViewsPath;
145146
}

‎src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
151151
$transPaths[] = $this->defaultTransPath;
152152
}
153153
$viewsPaths = $this->viewsPaths;
154+
$viewsPaths[] = $kernel->getProjectDir().'/src';
154155
if ($this->defaultViewsPath) {
155156
$viewsPaths[] = $this->defaultViewsPath;
156157
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.