<div class="row">
  <div class="span6">
    <%= link_to(image_tag('logo.png', :alt => t('site.name')), '/', :class => "brand inline-block"); %>
    <span class="inline-block link_gray"><h2><%= link_to(t('site.name'), '/', :class => "brand"); %></h2></span>
  </div>
  <div class="login span6">
    <div id="menu_home">
    </div>
    <div id="header_search">
      <input type="search" name="search" id="global_search_input" placeholder=search>
    </div>
  </div>
</div>






<div class="row">
  <div class="span6">
    <%= link_to(image_tag('logo.png', :alt => t('site.name')), root_path, :class => "brand inline-block"); %>
    <span class="inline-block link_gray"><h2><%= link_to(t('site.name'), root_path, :class => "brand"); %></h2></span>
  </div>
  <div class="login span6">
    <div id="menu_home">
    </div>
    <div id="header_search">
      <input type="search" name="search" id="global_search_input" placeholder=search>
    </div>
  </div>
</div>






Use root_path for / paths
Use root_path for / paths
