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

Added support to render widgets partial without any layout furniture #3989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abujeda
Copy link
Contributor

@abujeda abujeda commented Dec 4, 2024

Added support to render widgets partials without any layout furniture.

This change will allow for better support for OOD extensions in the form of widgets and the support of dynamic content with Javascript with Widgets.

Fixes #3986

@johrstrom
Copy link
Contributor

This look OK - I just have to take a second to consider the security of it.

@@ -106,6 +106,8 @@

post 'settings', :to => 'settings#update'

match '/widgets/*widget_path', to: 'widgets#show', via: [:get, :post], as: 'widgets'
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the delay on this. Why do we need post here?

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.

Widgets - Add support to get widgets partial HTML
3 participants