Open alekseiismirnov opened 3 months ago
curl --request GET localhost:3000/api/v1/foods
[web] | Started GET "/api/v1/foods" for 10.89.1.7 at 2024-04-30 11:28:31 +0000
[web] | Processing by Api::V1::FoodsController#index as JSON
[web] | Completed 204 No Content in 0ms (ActiveRecord: 0.0ms | Allocations: 38)
[web] | NoMethodError (undefined method json_responce' for #<Api::V1::FoodsController:0x00000000014cd0>): [web] | [web] | app/controllers/api/v1/foods_controller.rb:5:in
index'
[web] | Started GET "/api/v1/foods" for 10.89.1.7 at 2024-05-01 08:26:39 +0000
[web] | Processing by Api::V1::FoodsController#index as JSON