config/routes.rb in phcmemberspro-11.0.5 vs config/routes.rb in phcmemberspro-11.0.6
- old
+ new
@@ -3,11 +3,12 @@
# Application API
namespace :api do
namespace :v1 do
# Routes for API
- resources :categories, defaults: {format: 'json'}
- resources :listings, defaults: {format: 'json'}
+ resources :categories, defaults: {format: 'json'} do
+ resources :listings, defaults: {format: 'json'}
+ end
end
end
# Dashboard (Engine Root)