From 945e8a2548509cf876dae678b52ca2f4478431ed Mon Sep 17 00:00:00 2001 From: martintomas Date: Fri, 3 Jan 2025 17:03:58 +0100 Subject: [PATCH] fix: Adding devise mapping for member --- backend/config/routes/api.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/config/routes/api.rb b/backend/config/routes/api.rb index 7900d91..d51be8d 100644 --- a/backend/config/routes/api.rb +++ b/backend/config/routes/api.rb @@ -1,6 +1,8 @@ mount Rswag::Ui::Engine => "/api-docs" mount Rswag::Api::Engine => "/api-docs" +devise_for :members, path: "api/v1", skip: :all + namespace :api, format: "json" do namespace :v1 do # enums