|
|
@ -1,9 +1,11 @@ |
|
|
Rails.application.routes.draw do |
|
|
Rails.application.routes.draw do |
|
|
|
|
|
get 'dashboard/index' |
|
|
|
|
|
|
|
|
# The priority is based upon order of creation: first created -> highest priority. |
|
|
# The priority is based upon order of creation: first created -> highest priority. |
|
|
# See how all your routes lay out with "rake routes". |
|
|
# See how all your routes lay out with "rake routes". |
|
|
|
|
|
|
|
|
# You can have the root of your site routed with "root" |
|
|
# You can have the root of your site routed with "root" |
|
|
# root 'welcome#index' |
|
|
|
|
|
|
|
|
root 'dashboard#index' |
|
|
|
|
|
|
|
|
# Example of regular route: |
|
|
# Example of regular route: |
|
|
# get 'products/:id' => 'catalog#view' |
|
|
# get 'products/:id' => 'catalog#view' |
|
|
|