ADDED: Home site with Top Artists/Tracks; CHANGED: Search Bar
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user