{"sEcho": <%= params[:sEcho] || -1 %>, "iTotalRecords": <%= @total_projects %>, "iTotalDisplayRecords": <%= @total_project %>, "aaData":[ <% @projects.each do |project| %> ['<%= link_to(project.owner.uname, project.owner) %>', '<%= link_to(project.name, project) %>', '<%= link_to t("layout.add"), url_for(:controller => :repositories, :action => :add_project, :project_id => project.id) %>' ], <% end %> ]}