Permalink
Browse files

asdf

  • Loading branch information...
1 parent f27adff commit 62e55162177972d9e895e98f6c6c402dd866d29e @stephanvane committed Mar 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/controllers/albums_controller.rb
  2. +1 −1 app/views/albums/show.html.haml
@@ -5,7 +5,7 @@ class AlbumsController < ApplicationController
caches_page :index
def index
- @albums = Album.all
+ @albums = Album.order('name').all
end
def show
@@ -3,6 +3,6 @@
%table
- @album.tracks.each do |track|
%tr
- %td= track.name
+ %td= link_to track, track.name
= link_to 'Download', album_download_path(@album)

0 comments on commit 62e5516

Please sign in to comment.