X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Fsearchresults.rhtml;fp=app%2Fviews%2Fvideo%2Fsearchresults.rhtml;h=587ddf7e57e1f68034fe6a2cbb353b814c81b701;hb=064ef703594868b7ace2ebe131ba145e27aef6d2;hp=eae7d23f55a51fa929246a37b35b1fc4d5fef517;hpb=f102e2d11bd1633579c7cfc244a38a9d8929bd06;p=cs356-p2-videostore.git diff --git a/app/views/video/searchresults.rhtml b/app/views/video/searchresults.rhtml index eae7d23..587ddf7 100644 --- a/app/views/video/searchresults.rhtml +++ b/app/views/video/searchresults.rhtml @@ -20,9 +20,9 @@ <%=h video.title %> <%=h tf_to_yesno(video.checkedout?) %> <%=h tf_to_yesno(video.newrelease) %> - <%=h video.genre %> + <%=h video.genre.name %> <%=h video.director %> - <%=h video.media_name %> + <%=h video.media.name %> <%= link_to 'View', :action => 'show', :id => video %> <%= link_to 'Edit', :action => 'edit', :id => video %> <%= link_to 'Remove', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :post => true %>