Commit 8aefb29a authored by Vaz Allen's avatar Vaz Allen

Move songs and albums index views to subdirectories

parent ed8eb4a3
...@@ -5,10 +5,10 @@ end ...@@ -5,10 +5,10 @@ end
get '/songs' do get '/songs' do
@songs = Song.all @songs = Song.all
erb :songs erb :'songs/index'
end end
get '/albums' do get '/albums' do
@albums = Album.all @albums = Album.all
erb :albums erb :'albums/index'
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment