Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement feedback from page PR #565

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Implement feedback from page PR #565

merged 2 commits into from
Oct 9, 2024

Conversation

Schwad
Copy link
Collaborator

@Schwad Schwad commented Oct 9, 2024

Ref: #559

@noahgibbs made some good points on my page PR. This reverts a few changes that I cargo-culted during my development process that weren't in fact needed. It also makes sure we're using @document_root where possible and not spoofing additional unneeded containers!

@Schwad Schwad merged commit d1d3a5a into main Oct 9, 2024
old_cur_app = @current_app
@current_app = app
ret = yield
@current_app = old_cur_app
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks good to me. You could use an ensure when setting @current_app to old_cur_app, but I don't remember if we were before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants