Skip to content

Commit

Permalink
fixed links2
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Oct 4, 2010
1 parent bcdf0cd commit 0c7a5a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/repositories/index.html.erb
Expand Up @@ -36,7 +36,10 @@
<% repository.commits.each do |commit| %>
<tr>
<td>
<%= '> Updated at ' + link_to(commit.created_at.to_s, raw(commit.url)) + ' by ' + link_to(commit.authorname, raw('http://github.com/' + h(commit.authorname))) + ' - "' + commit.message + '"' rescue "" %>
Updated at <a href="<%=commit.url%>"><%=commit.created_at.to_s%></a>
by <a href="http://github.com/<%=commit.authorname%>"><%=commit.authorname%></a>
- <%=commit.message%>
<%# '> Updated at ' + link_to(commit.created_at.to_s, raw(commit.url)) + ' by ' + link_to(commit.authorname, raw('http://github.com/' + h(commit.authorname))) + ' - "' + commit.message + '"' rescue "" %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit 0c7a5a8

Please sign in to comment.