Easier nested layouts in Rails 7
I’ve been using a simple, 4-line helper method to implement nested layouts in Rails since I originally blogged about it in the Rails 4 days. The technique still works great after all these years! Today I updated my post for Rails 7. The code has now been tested from Rails 6.0 all the way to Rails edge. https://mattbrictson.com/blog/easier-nested-layouts-in-rails
Post a comment