title: Rendering link_to from application helpers
body: <p>Im trying to render a dynamic nav menu using a application helpers but all get is a hash</p>
  
  <p>when I load the page this is all that it displays</p>
  
  <pre><code>[#&lt;Project id: 15, title: "downer", created_at: "2012-07-03 08:36:16", updated_at: "2012-07-03 08:36:16", company_id: 2&gt;]
  </code></pre>
  
  <p>here is the code that is used in the application helper</p>
  
  <pre><code>def project_list(user)
      company ||= user.profile.company
      projects ||= company.projects 
      projects.each do |project|
        link_to project.title, company_project_path(company, project)
        project.scopes.each do |scope|
          link_to scope.name, company_project_scope_path(scope.company, scope.project, scope)
        end
      end
    end
  </code></pre>
  
  <p>and</p>
  
  <p>_nav.erb.html</p>
  
  <pre><code>&lt;%= project_list(current_user) %&gt;
  </code></pre>