rlayout 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/rlayout/layout.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/rlayout/layout.rb
CHANGED
@@ -27,7 +27,7 @@ module Rlayout
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
unless new_layout.nil? || new_layout.empty?
|
30
|
-
options[:layout] = new_layout == 'none' ? false : new_layout
|
30
|
+
options[:layout] = new_layout == 'none' || new_layout == 'false' ? false : new_layout
|
31
31
|
end
|
32
32
|
|
33
33
|
if apply_layout?(template_with_options, options) && (layout = pick_layout(template_with_options, options))
|