diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3455716..55ca8e8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,11 +1,17 @@ Rails.application.routes.draw do + get "home", to: "pages#home" + get "about", to: "pages#about" + get "faq", to: "pages#faq" + get "contact", to: "pages#contact" + get "terms", to: "pages#terms" + get "more-info", to: "pages#more_info" resources :categories resources :resource_types resources :pdfresources resources :users resource :session resources :passwords, param: :token - resource :registration, only: [:new, :create] + resource :registration, only: [ :new, :create ] # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. @@ -17,5 +23,5 @@ Rails.application.routes.draw do # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker # Defines the root path route ("/") - root "pdfresources#index" + root "pages#home" end |