Remove unecessary conditional checks for 3.2
This actually works the same on 3.0-3.2, no need to check.
This commit is contained in:
parent
21350f09a1
commit
2c78811f61
|
@ -1,10 +1,3 @@
|
|||
%h1 Partial layout used with for block:
|
||||
- if Haml::Util.ap_geq?("3.2.0.alpha1")
|
||||
= render :layout => 'layout_for_partial' do
|
||||
%p Some content within a layout
|
||||
- elsif Haml::Util.ap_geq_3?
|
||||
= render :layout => 'layout_for_partial.haml' do
|
||||
%p Some content within a layout
|
||||
- else
|
||||
- render :layout => 'layout_for_partial.haml' do
|
||||
%p Some content within a layout
|
||||
= render :layout => 'layout_for_partial' do
|
||||
%p Some content within a layout
|
||||
|
|
Loading…
Reference in New Issue