diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
commit | b8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 (patch) | |
tree | 5ef297ac23775afb1bcffb68265749d08f282297 /config | |
parent | 97201e0bca203b6b303789374ffd7e4228e062a7 (diff) |
Adds first pdfresource model
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 29b007b..af58cd0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,5 @@ Rails.application.routes.draw do + resources :pdfresources resource :session resources :passwords, param: :token # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html @@ -12,5 +13,5 @@ Rails.application.routes.draw do # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker # Defines the root path route ("/") - # root "posts#index" + root "pdfresources#index" end |