Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
speedy901990 committed Apr 8, 2013
2 parents d080fa6 + f0d0234 commit 7699daa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions app/views/repositories/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<h1>Listing repositories</h1>

<table>
<tr>
<th>Name</th>
<th></th>
</tr>

<% @repositories.each do |f| %>
<tr>
<td><%= f.name %></td>
<td><%= link_to 'Show', f %></td>
<td><%= link_to 'Edit', edit_repository_path(f) %></td>
<td><%= link_to 'Destroy', f, confirm: 'Are you sure?', method: :delete %></td>
</tr>
<% end %>
</table>

<br />

<%= link_to 'New Post', new_repository_path %>

0 comments on commit 7699daa

Please sign in to comment.