bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.11k stars 114 forks source link

Make it easy for Roda routes to render "callable" objects #892

Closed jaredcwhite closed 2 months ago

jaredcwhite commented 2 months ago

Some cleanup and enhancements made possible by utilizing Roda's custom_block_results plugin more effectively…including even letting you return components as route results. There's some more cleanup I want to do that will enable #561 as well. This is also the start of a new evaluation of places in the framework where we can leverage the "callable" object pattern.

Oh yeah, also added in a site alias so no more having to remember bridgetown_site in Roda routes. Hurray!

render[bot] commented 2 months ago

Your Render PR Server URL is https://bridgetown-beta-pr-892.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-copqcdmv3ddc73fp24bg.

render[bot] commented 2 months ago

Your Render PR Server URL is https://bridgetown-api-pr-892.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-copqce6v3ddc73fp24j0.