Skip to content

Conversation

@mjauvin
Copy link
Member

@mjauvin mjauvin commented May 5, 2025

Depends on wintercms/winter#1312

Update Winter.Redirect to use formcontroller behavior's default views.

Comment on lines 111 to 117
public function create()
{
$this->formLayout = 'sidebar';

parent::create();
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this required if we're already setting the formLayout to sidebar by default?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was meant to be 'standard' in create context... I commited a fix.

Copy link
Member

@LukeTowers LukeTowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending merge of wintercms/winter#1312 and release of Winter v1.2.8

@LukeTowers LukeTowers merged commit 4ea9bbb into main Jul 16, 2025
4 checks passed
@LukeTowers LukeTowers deleted the wip/winter-1.2.8-support branch July 16, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants