ADDED: Home site with Top Artists/Tracks; CHANGED: Search Bar

This commit is contained in:
Tobias Klika
2011-05-08 16:59:06 +02:00
parent 01ebd2ee00
commit a889bf28e4
15 changed files with 180 additions and 245 deletions
+1
View File
@@ -2,5 +2,6 @@ require 'LastFM/LastFMRequest'
require 'LastFM/Artist'
require 'LastFM/Album'
require 'LastFM/Track'
require 'LastFM/Chart'
LastFM::LastFMRequest::api_key = '4c32e360f68553ec8fdca3711456b4f9'
+3 -1
View File
@@ -1,6 +1,8 @@
Nineminutes::Application.routes.draw do
resources :artists, :constraints => { :id => /.*/ }
resources :search
resources :home
# The priority is based upon order of creation:
# first created -> highest priority.
@@ -50,7 +52,7 @@ Nineminutes::Application.routes.draw do
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
# root :to => "welcome#index"
root :to => "home#index"
# See how all your routes lay out with "rake routes"