X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_platform%2Flist.rhtml;fp=app%2Fviews%2Fgame_platform%2Flist.rhtml;h=9323f6f0f94b0317a29205b69767503b5e09d447;hb=1400058ff6cb035111e5c2dfab0fd4ad7e44710d;hp=3206a36d09c1e142df85504dcdd4769449d2e681;hpb=49780de1e4382884d99126b3d48f5ad232deb91e;p=cs356-p2-videostore.git diff --git a/app/views/game_platform/list.rhtml b/app/views/game_platform/list.rhtml index 3206a36..9323f6f 100644 --- a/app/views/game_platform/list.rhtml +++ b/app/views/game_platform/list.rhtml @@ -1,20 +1,14 @@ -
<%= column.human_name %> | - <% end %> +Name | |||
---|---|---|---|---|
<%=h game_platform.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => game_platform %> | +<%= link_to game_platform.name.to_s, :action => 'show', :id => game_platform %> | <%= link_to 'Edit', :action => 'edit', :id => game_platform %> | -<%= link_to 'Destroy', { :action => 'destroy', :id => game_platform }, :confirm => 'Are you sure?', :method => :post %> |