Closed hughbien closed 3 years ago
Not sure if you'd want this feature, but it mimics Rail's disabling of layouts (as discussed by whitehat101 in #73). Example in controller.rb:
layout 'default_layout.html.haml' before 'page.html.haml' do layout false # render content without layout end
I haven't tried it, but thanks for taking the time to implement this feature.
Not sure if you'd want this feature, but it mimics Rail's disabling of layouts (as discussed by whitehat101 in #73). Example in controller.rb: