Skip to content

Commit

Permalink
Merge pull request #468 from raniesantos/patch-1
Browse files Browse the repository at this point in the history
Added yml to Blade hybrid files
  • Loading branch information
damiani authored May 7, 2020
2 parents e83b80d + 02912ed commit a6fa1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/File/InputFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class InputFile
{
protected $file;
protected $extraBladeExtensions = [
'js', 'json', 'xml', 'rss', 'atom', 'txt', 'text', 'html',
'js', 'json', 'xml', 'yaml', 'yml', 'rss', 'atom', 'txt', 'text', 'html',
];
protected $pageData;

Expand Down
2 changes: 1 addition & 1 deletion src/View/ViewRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ViewRenderer
'blade.markdown' => 'blade-markdown',
];
private $bladeExtensions = [
'js', 'json', 'xml', 'rss', 'atom', 'txt', 'text', 'html',
'js', 'json', 'xml', 'yaml', 'yml', 'rss', 'atom', 'txt', 'text', 'html',
];

public function __construct(Factory $viewFactory, BladeCompiler $bladeCompiler, Collection $config = null)
Expand Down

0 comments on commit a6fa1d0

Please sign in to comment.