From c005056806d83e8d9d0129229684e4d8225f1db5 Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Fri, 9 Dec 2022 10:16:58 +0000 Subject: [PATCH] lockdown bulk upload routes --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index eef759e92..de0fa36a4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -127,7 +127,7 @@ Rails.application.routes.draw do post "email-csv", to: "lettings_logs#email_csv" get "csv-confirmation", to: "lettings_logs#csv_confirmation" - resources :bulk_upload_lettings_logs, path: "bulk-upload-logs" do + resources :bulk_upload_lettings_logs, path: "bulk-upload-logs", only: %i[show update] do collection do get :start end