mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Syntax tweak in routes.
This commit is contained in:
parent
0888020044
commit
30b24a7a23
@ -103,7 +103,7 @@ DanBarberPhoto::Application.routes.draw do
|
|||||||
# match ':controller(/:action(/:id(.:format)))'
|
# match ':controller(/:action(/:id(.:format)))'
|
||||||
|
|
||||||
# root :to => 'welcome#index'
|
# root :to => 'welcome#index'
|
||||||
root :to => 'home#index'
|
root to: 'home#index'
|
||||||
|
|
||||||
# See how all your routes lay out with "rake routes"
|
# See how all your routes lay out with "rake routes"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user