1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 14:57:48 +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,23 +0,0 @@
<h1>Listing weights</h1>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Max</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% @weights.each do |weight| %>
<tr>
<td><%= weight.max %></td>
<td><%= link_to 'Show', weight, :class=>"btn btn-default" %><%= link_to 'Edit', edit_weight_path(weight), :class=>"btn btn-default" %><%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Weight', new_weight_path %>

View File

@@ -1,4 +0,0 @@
json.array!(@weights) do |weight|
json.extract! weight, :id, :max
json.url weight_url(weight, format: :json)
end