X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2Fsearchresults.rhtml;fp=app%2Fviews%2Fgame%2Fsearchresults.rhtml;h=b8c5d76bf4c4880ebf31bb2e9a7d2f0e93a2f0c2;hb=064ef703594868b7ace2ebe131ba145e27aef6d2;hp=203f4cc70a17257b8353ce0308e213dd8d910ecd;hpb=f102e2d11bd1633579c7cfc244a38a9d8929bd06;p=cs356-p2-videostore.git diff --git a/app/views/game/searchresults.rhtml b/app/views/game/searchresults.rhtml index 203f4cc..b8c5d76 100644 --- a/app/views/game/searchresults.rhtml +++ b/app/views/game/searchresults.rhtml @@ -19,8 +19,8 @@ <%=h game.title %> <%=h tf_to_yesno(game.checkedout?) %> <%=h tf_to_yesno(game.newrelease) %> - <%=h game.genre %> - <%=h game.game_platform %> + <%=h game.genre.name %> + <%=h game.platform.name %> <%= link_to 'View', :action => 'show', :id => game %> <%= link_to 'Edit', :action => 'edit', :id => game %> <%= link_to 'Remove', { :action => 'destroy', :id => game }, :confirm => 'Are you sure?', :method => :post %>