From b8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 11 Nov 2024 16:33:24 +0000 Subject: Adds first pdfresource model --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3