Permalink
Browse files

Fiber removed

  • Loading branch information...
1 parent 89dbc52 commit cb9d64e4218c324dc3da08a9ddca9edd866b37a1 @koa committed May 26, 2011
Showing with 2 additions and 7 deletions.
  1. +2 −7 app/views/shared/_header.html.erb
@@ -1,15 +1,10 @@
<h1 id='logo'>
<%= link_to RefinerySetting.find_or_set(:site_name, "Company Name"), root_path %>
</h1>
-<%=
- ::Fiber.new {
- ::Fiber.yield(
- render(:partial => "/shared/menu", :locals => {
+<%= render(:partial => "/shared/menu", :locals => {
:dom_id => 'menu',
:css => 'menu',
:roots => @menu_pages.where(:parent_id => @site.try(:page_id)),
:collection => @menu_pages.where(@menu_pages.arel_table[:parent_id].not_eq(nil)),
:selected_item => (@page if defined?(::Page))
- })
- )
- }.resume %>
+ }) %>

0 comments on commit cb9d64e

Please sign in to comment.