1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 00:49:54 +00:00

removed controller actions and views not needed

This commit is contained in:
2015-10-27 08:03:16 -04:00
parent e3640917c5
commit b539a769c2
16 changed files with 0 additions and 226 deletions

View File

@@ -1,29 +0,0 @@
<h1>Listing mats</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Tournament</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @mats.each do |mat| %>
<tr>
<td><%= mat.name %></td>
<td><%= mat.tournament_id %></td>
<td><%= link_to 'Show', mat %></td>
<td><%= link_to 'Edit', edit_mat_path(mat) %></td>
<td><%= link_to 'Destroy', mat, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Mat', new_mat_path %>

View File

@@ -1,4 +0,0 @@
json.array!(@mats) do |mat|
json.extract! mat, :id, :name, :tournament_id
json.url mat_url(mat, format: :json)
end