Skip to content
This repository was archived by the owner on May 26, 2021. It is now read-only.
This repository was archived by the owner on May 26, 2021. It is now read-only.

Missing layout content #6

@sebbaum

Description

@sebbaum

Describe the bug
If a pattern contains @extends('layouts.app') the rendered output in the main project is missing the content of the layout/app.blade.php file.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Pattern e.g. pages.homepage
  2. Add a route to render this pattern
  3. Call the route in your browser
  4. The rendered page is not styled. The layout file's content is missing

Expected behavior
The page is rendered as if an @include directive is used.

Additional context
The bug is gone, if the call to $this->evaluatePatternStatus($pattern); in PatternServiceProvider::parse() is removed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions