From 6fea11f9ce3c03e20ee6f098b911fe2f921142ad Mon Sep 17 00:00:00 2001 From: Esteban Date: Mon, 26 Feb 2024 14:27:01 -0500 Subject: [PATCH] added routes --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 7b24bfb..d11932a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,6 +8,10 @@ end end + if Rails.env.development? + get "/rails/active_storage/blobs/:signed_id/*filename", to: "active_storage/blobs#show" + end + mount Rswag::Ui::Engine => '/api-docs' mount Rswag::Api::Engine => '/api-docs' get '/current_user', to: 'users/current_user#index'