diff --git a/config/routes.rb b/config/routes.rb index c74280774..3194915e0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -221,7 +221,7 @@ Rails.application.routes.draw do root :to => 'home#show' get "podmin", to: "home#podmin" - api_version(module: "Api::V1", path: {value: "api/v1"}, default: true) do + api_version(module: "Api::V1", path: {value: "api/v1"}) do match "user", to: "users#show", via: %i[get post] resources :posts, only: %i[show create destroy] do resources :comments, only: %i[create destroy]