X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_genre%2Flist.rhtml;h=63f595e289530cd18cb2caa6b1315337a3f3a10f;hb=HEAD;hp=83c005ccf21295bfb66f34fdf7160ae95c4ba568;hpb=064ef703594868b7ace2ebe131ba145e27aef6d2;p=cs356-p2-videostore.git diff --git a/app/views/game_genre/list.rhtml b/app/views/game_genre/list.rhtml index 83c005c..63f595e 100644 --- a/app/views/game_genre/list.rhtml +++ b/app/views/game_genre/list.rhtml @@ -1,20 +1,14 @@ -
<%= column.human_name %> | - <% end %> +Name | |||
---|---|---|---|---|
<%=h game_genre.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => game_genre %> | +<%= link_to game_genre.name.to_s, :action => 'show', :id => game_genre %> | <%= link_to 'Edit', :action => 'edit', :id => game_genre %> | -<%= link_to 'Destroy', { :action => 'destroy', :id => game_genre }, :confirm => 'Are you sure?', :method => :post %> |