We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69cc94 commit 74aa282Copy full SHA for 74aa282
1 file changed
backend/app/controllers/api/v1/countries_controller.rb
@@ -4,7 +4,7 @@ class CountriesController < ApplicationController
4
skip_before_action :authenticate_user!
5
6
def index
7
- render json: Country.all, each_serializer: CountrySerializer, root: false
+ render json: Country.all, each_serializer: CountrySerializer
8
end
9
10
def show
0 commit comments