search autocomplete

This commit is contained in:
Hipster Hitman
2011-04-10 10:17:06 +04:00
parent 47ee517b27
commit 424906baff
6 changed files with 46 additions and 3 deletions
+2 -1
View File
@@ -59,6 +59,7 @@ Beathaven::Application.routes.draw do
# Note: This route will make all actions in every controller accessible via GET requests.
# match ':controller(/:action(/:id(.:format)))'
match 'artist(/:name)' => 'artist#view'
match 'listen/:id' => 'track#listen'
match 'listen/:id' => 'track#listen'
match 'search/autocomplete' => 'artist#autocomplete'
end