lib/angelo/tilt/erb.rb in angelo-0.1.12 vs lib/angelo/tilt/erb.rb in angelo-0.1.13
- old
+ new
@@ -30,15 +30,13 @@
end
end
def templates
@templates ||= templatify('**', '*.erb'){|v| v =~ /^layouts\//}
- @templates
end
def layout_templates
@layout_templates ||= templatify 'layouts', '*.erb'
- @layout_templates
end
def default_layout
if @default_layout.nil?
l = view_glob(DEFAULT_LAYOUT)