Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add links to headers

  • Loading branch information...
commit 827e2e3bbeea3cef6ac1d6f22b944a35a1b87d63 1 parent 0c5b136
Marc Kuo authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 app/views/movies/index.html.haml
4 app/views/movies/index.html.haml
@@ -4,9 +4,9 @@
4 4 %table#movies
5 5 %thead
6 6 %tr
7   - %th Movie Title
  7 + %th#title_header= link_to "Movie Title", movies_path({:sort => :title})
8 8 %th Rating
9   - %th Release Date
  9 + %th#release_date_header= link_to "Release Date", movies_path({:sort => :date})
10 10 %th More Info
11 11 %tbody
12 12 - @movies.each do |movie|

0 comments on commit 827e2e3

Please sign in to comment.
Something went wrong with that request. Please try again.