Permalink
Browse files

add links to headers

  • Loading branch information...
1 parent 0c5b136 commit 827e2e3bbeea3cef6ac1d6f22b944a35a1b87d63 @mck- committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/movies/index.html.haml
View
4 app/views/movies/index.html.haml
@@ -4,9 +4,9 @@
%table#movies
%thead
%tr
- %th Movie Title
+ %th#title_header= link_to "Movie Title", movies_path({:sort => :title})
%th Rating
- %th Release Date
+ %th#release_date_header= link_to "Release Date", movies_path({:sort => :date})
%th More Info
%tbody
- @movies.each do |movie|

0 comments on commit 827e2e3

Please sign in to comment.