app/helpers/layout_helper.rb in endymion-origami-0.1.3 vs app/helpers/layout_helper.rb in endymion-origami-0.1.4

- old
+ new

@@ -3,15 +3,11 @@ def block_to_partial(partial_name, options = {}, &block) options.merge!(:content => capture(&block)) concat render(:partial => partial_name, :locals => options) end - def layout_and_theme_stylesheets(layout, options = {}, &block) - block_to_partial('layouts/layout_and_theme_stylesheets', options.merge(:layout => layout), &block) - end - - def head(options = {}, &block) - block_to_partial('layouts/head', options, &block) + def head(layout, options = {}, &block) + render(:partial => 'layouts/head', :locals => {:layout => layout}) end def body(options = {}, &block) block_to_partial('layouts/body', options, &block) end