X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fgame_platform%2Flist.rhtml;h=9323f6f0f94b0317a29205b69767503b5e09d447;hb=refs%2Ftags%2Fturned-in;hp=3206a36d09c1e142df85504dcdd4769449d2e681;hpb=064ef703594868b7ace2ebe131ba145e27aef6d2;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 %> |