|
|
@ -1,4 +1,6 @@ |
|
|
Rails.application.routes.draw do |
|
|
Rails.application.routes.draw do |
|
|
|
|
|
get 'pages/letsencrypt' |
|
|
|
|
|
|
|
|
get 'welcome/index' |
|
|
get 'welcome/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. |
|
|
@ -7,6 +9,10 @@ Rails.application.routes.draw do |
|
|
# 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 'welcome#index' |
|
|
|
|
|
|
|
|
|
|
|
# Static pages controller |
|
|
|
|
|
# controller for letsencrypt |
|
|
|
|
|
get '/.well-known/acme-challenge/:id' => 'pages#letsencrypt' |
|
|
|
|
|
|
|
|
# Example of regular route: |
|
|
# Example of regular route: |
|
|
# get 'products/:id' => 'catalog#view' |
|
|
# get 'products/:id' => 'catalog#view' |
|
|
|
|
|
|
|
|
|