new MainController, empty artist result fix
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Beathaven::Application.routes.draw do
|
||||
get "main/index"
|
||||
|
||||
# The priority is based upon order of creation:
|
||||
# first created -> highest priority.
|
||||
|
||||
@@ -49,12 +51,14 @@ Beathaven::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 => "main#index", :as => "main"
|
||||
|
||||
# See how all your routes lay out with "rake routes"
|
||||
|
||||
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
||||
# 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 'artist(/:name)' => 'artist#view'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user