Search and suggestions backend

This commit is contained in:
magnolia-fan
2011-06-18 03:37:49 +04:00
parent 17f5edf841
commit 24ca64a945
3 changed files with 25 additions and 8 deletions
+1
View File
@@ -57,5 +57,6 @@ Beathaven::Application.routes.draw do
# match ':controller(/:action(/:id(.:format)))'
match 'artist/autocomplete' => 'artist#autocomplete'
match 'artist/search' => 'artist#search'
match 'artist/(:name)/' => 'artist#data', :constraints => { :name => /[^\/]*/ }
end