X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo%2Flist.rhtml;fp=app%2Fviews%2Fvideo%2Flist.rhtml;h=d74ec253f17ff8bf0967f6f37f65a11e4c6dccaa;hb=42bfb060c3d3d661486f94ce7a8f8c12cf452399;hp=27bd31839da8f7c4ae2323a17e9d12ee5090001a;hpb=4ab6702d5ac0ec4541e8a724ab5e4409630b5546;p=cs356-p2-videostore.git diff --git a/app/views/video/list.rhtml b/app/views/video/list.rhtml index 27bd318..d74ec25 100644 --- a/app/views/video/list.rhtml +++ b/app/views/video/list.rhtml @@ -19,7 +19,7 @@ <%=h video.newrelease %> <%=h Videogenre.find(video.video_genre).name %> <%=h video.director %> - <%=h video.media %> + <%=h Media.find(video.media).name %> <%= link_to 'Show', :action => 'show', :id => video %> <%= link_to 'Edit', :action => 'edit', :id => video %> <%= link_to 'Destroy', { :action => 'destroy', :id => video }, :confirm => 'Are you sure?', :method => :post %>